mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
Define fixes
Fixed a couple defines that were not changed or commented out.
This commit is contained in:
parent
a83bf18ee1
commit
ca8d1756d5
@ -664,7 +664,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
||||
// becomes available.
|
||||
//
|
||||
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
|
||||
#define ELB_FULL_GRAPHIC_CONTROLLER
|
||||
//#define ELB_FULL_GRAPHIC_CONTROLLER
|
||||
|
||||
// The RepRapDiscount Smart Controller (white PCB)
|
||||
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user