|
@@ -4083,7 +4083,7 @@ inline void gcode_M226() {
|
4083
|
4083
|
|
4084
|
4084
|
#endif // CHDK || PHOTOGRAPH_PIN
|
4085
|
4085
|
|
4086
|
|
-#ifdef DOGLCD
|
|
4086
|
+#ifdef HAS_LCD_CONTRAST
|
4087
|
4087
|
|
4088
|
4088
|
/**
|
4089
|
4089
|
* M250: Read and optionally set the LCD contrast
|
|
@@ -4095,7 +4095,7 @@ inline void gcode_M226() {
|
4095
|
4095
|
SERIAL_EOL;
|
4096
|
4096
|
}
|
4097
|
4097
|
|
4098
|
|
-#endif // DOGLCD
|
|
4098
|
+#endif // HAS_LCD_CONTRAST
|
4099
|
4099
|
|
4100
|
4100
|
#ifdef PREVENT_DANGEROUS_EXTRUDE
|
4101
|
4101
|
|
|
@@ -5081,11 +5081,11 @@ void process_commands() {
|
5081
|
5081
|
break;
|
5082
|
5082
|
#endif // CHDK || PHOTOGRAPH_PIN
|
5083
|
5083
|
|
5084
|
|
- #ifdef DOGLCD
|
|
5084
|
+ #ifdef HAS_LCD_CONTRAST
|
5085
|
5085
|
case 250: // M250 Set LCD contrast value: C<value> (value 0..63)
|
5086
|
5086
|
gcode_M250();
|
5087
|
5087
|
break;
|
5088
|
|
- #endif // DOGLCD
|
|
5088
|
+ #endif // HAS_LCD_CONTRAST
|
5089
|
5089
|
|
5090
|
5090
|
#ifdef PREVENT_DANGEROUS_EXTRUDE
|
5091
|
5091
|
case 302: // allow cold extrudes, or set the minimum extrude temperature
|