Browse Source

Fix typo in DWIN, preheat array

Scott Lahteine 4 years ago
parent
commit
452072cc08
2 changed files with 1 additions and 3 deletions
  1. 0
    2
      Marlin/src/lcd/dwin/dwin.cpp
  2. 1
    1
      Marlin/src/lcd/ultralcd.cpp

+ 0
- 2
Marlin/src/lcd/dwin/dwin.cpp View File

@@ -2383,8 +2383,6 @@ void HMI_AxisMove(void) {
2383 2383
   DWIN_UpdateLCD();
2384 2384
 }
2385 2385
 
2386
-enum
2387
-
2388 2386
 /* TemperatureID */
2389 2387
 void HMI_Temperature(void) {
2390 2388
   ENCODER_DiffState encoder_diffState = get_encoder_state();

+ 1
- 1
Marlin/src/lcd/ultralcd.cpp View File

@@ -86,7 +86,7 @@ MarlinUI ui;
86 86
   }
87 87
 #endif
88 88
 
89
-#if EITHER(HAS_LCD_MENU, DWIN_CREALITY_LCD)
89
+#if PREHEAT_COUNT
90 90
   preheat_t MarlinUI::material_preset[PREHEAT_COUNT];  // Initialized by settings.load()
91 91
 #endif
92 92
 

Loading…
Cancel
Save