|
@@ -1110,7 +1110,7 @@ static void lcd_control_volumetric_menu() {
|
1110
|
1110
|
#ifdef HAS_LCD_CONTRAST
|
1111
|
1111
|
static void lcd_set_contrast() {
|
1112
|
1112
|
if (encoderPosition != 0) {
|
1113
|
|
- #ifdef U8GLIB_ST7920
|
|
1113
|
+ #ifdef U8GLIB_LM6059_AF
|
1114
|
1114
|
lcd_contrast += encoderPosition;
|
1115
|
1115
|
lcd_contrast &= 0xFF;
|
1116
|
1116
|
#else
|
|
@@ -1122,7 +1122,7 @@ static void lcd_control_volumetric_menu() {
|
1122
|
1122
|
u8g.setContrast(lcd_contrast);
|
1123
|
1123
|
}
|
1124
|
1124
|
if (lcdDrawUpdate) {
|
1125
|
|
- #ifdef U8GLIB_ST7920
|
|
1125
|
+ #ifdef U8GLIB_LM6059_AF
|
1126
|
1126
|
lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr3(lcd_contrast));
|
1127
|
1127
|
#else
|
1128
|
1128
|
lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));
|