Define fixes

Fixed a couple defines that were not changed or commented out.
This commit is contained in:
Ed Boston
2015-05-18 14:23:31 -07:00
parent a83bf18ee1
commit ca8d1756d5
2 changed files with 3 additions and 3 deletions

View File

@ -1110,7 +1110,7 @@ static void lcd_control_volumetric_menu() {
#ifdef HAS_LCD_CONTRAST
static void lcd_set_contrast() {
if (encoderPosition != 0) {
#ifdef U8GLIB_ST7920
#ifdef U8GLIB_LM6059_AF
lcd_contrast += encoderPosition;
lcd_contrast &= 0xFF;
#else
@ -1122,7 +1122,7 @@ static void lcd_control_volumetric_menu() {
u8g.setContrast(lcd_contrast);
}
if (lcdDrawUpdate) {
#ifdef U8GLIB_ST7920
#ifdef U8GLIB_LM6059_AF
lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr3(lcd_contrast));
#else
lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));