From ca8d1756d559e6ed52f88a702e322b79975e0bea Mon Sep 17 00:00:00 2001 From: Ed Boston Date: Mon, 18 May 2015 14:23:31 -0700 Subject: [PATCH] Define fixes Fixed a couple defines that were not changed or commented out. --- Marlin/Configuration.h | 2 +- Marlin/ultralcd.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index bc7e7dda05..2d57d3061f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -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 diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index 71f7f28064..8584a963d5 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -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));