Fix typo in DWIN, preheat array

This commit is contained in:
Scott Lahteine 2020-06-25 22:45:09 -05:00
parent f445bc26e5
commit 452072cc08
2 changed files with 1 additions and 3 deletions

View file

@ -2383,8 +2383,6 @@ void HMI_AxisMove(void) {
DWIN_UpdateLCD(); DWIN_UpdateLCD();
} }
enum
/* TemperatureID */ /* TemperatureID */
void HMI_Temperature(void) { void HMI_Temperature(void) {
ENCODER_DiffState encoder_diffState = get_encoder_state(); ENCODER_DiffState encoder_diffState = get_encoder_state();

View file

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