Browse Source

Define fixes

Fixed a couple defines that were not changed or commented out.
Ed Boston 10 years ago
parent
commit
ca8d1756d5
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      Marlin/Configuration.h
  2. 2
    2
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/Configuration.h View File

664
 // becomes available.
664
 // becomes available.
665
 //
665
 //
666
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
666
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
667
-#define ELB_FULL_GRAPHIC_CONTROLLER
667
+//#define ELB_FULL_GRAPHIC_CONTROLLER
668
 
668
 
669
 // The RepRapDiscount Smart Controller (white PCB)
669
 // The RepRapDiscount Smart Controller (white PCB)
670
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
670
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller

+ 2
- 2
Marlin/ultralcd.cpp View File

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

Loading…
Cancel
Save