Aplied HAS_LCD_CONTRAST also to Marlin_main.cpp

and cleaned typo.
This commit is contained in:
AnHardt 2015-04-08 13:26:29 +02:00
parent a76fb42ca6
commit 6a514f3dc9
2 changed files with 5 additions and 5 deletions

View File

@ -163,7 +163,7 @@
#ifdef DOGLCD #ifdef DOGLCD
#define HAS_LCD_CONTRAST #define HAS_LCD_CONTRAST
#ifdef U8GLIB_ST7920 #ifdef U8GLIB_ST7920
#undefine HAS_LCD_CONTRAST #undef HAS_LCD_CONTRAST
#endif #endif
#endif #endif

View File

@ -4083,7 +4083,7 @@ inline void gcode_M226() {
#endif // CHDK || PHOTOGRAPH_PIN #endif // CHDK || PHOTOGRAPH_PIN
#ifdef DOGLCD #ifdef HAS_LCD_CONTRAST
/** /**
* M250: Read and optionally set the LCD contrast * M250: Read and optionally set the LCD contrast
@ -4095,7 +4095,7 @@ inline void gcode_M226() {
SERIAL_EOL; SERIAL_EOL;
} }
#endif // DOGLCD #endif // HAS_LCD_CONTRAST
#ifdef PREVENT_DANGEROUS_EXTRUDE #ifdef PREVENT_DANGEROUS_EXTRUDE
@ -5081,11 +5081,11 @@ void process_commands() {
break; break;
#endif // CHDK || PHOTOGRAPH_PIN #endif // CHDK || PHOTOGRAPH_PIN
#ifdef DOGLCD #ifdef HAS_LCD_CONTRAST
case 250: // M250 Set LCD contrast value: C<value> (value 0..63) case 250: // M250 Set LCD contrast value: C<value> (value 0..63)
gcode_M250(); gcode_M250();
break; break;
#endif // DOGLCD #endif // HAS_LCD_CONTRAST
#ifdef PREVENT_DANGEROUS_EXTRUDE #ifdef PREVENT_DANGEROUS_EXTRUDE
case 302: // allow cold extrudes, or set the minimum extrude temperature case 302: // allow cold extrudes, or set the minimum extrude temperature