🎨 Misc. code cleanup

This commit is contained in:
Scott Lahteine 2021-11-07 01:11:51 -06:00 committed by Scott Lahteine
parent 0273a68587
commit 6f9f25dbb2
4 changed files with 15 additions and 14 deletions

View File

@ -1554,6 +1554,7 @@ void setup() {
#endif #endif
#if HAS_DWIN_E3V2_BASIC #if HAS_DWIN_E3V2_BASIC
SETUP_LOG("E3V2 Init");
Encoder_Configuration(); Encoder_Configuration();
HMI_Init(); HMI_Init();
HMI_SetLanguageCache(); HMI_SetLanguageCache();
@ -1562,7 +1563,7 @@ void setup() {
#endif #endif
#if HAS_SERVICE_INTERVALS && !HAS_DWIN_E3V2_BASIC #if HAS_SERVICE_INTERVALS && !HAS_DWIN_E3V2_BASIC
ui.reset_status(true); // Show service messages or keep current status SETUP_RUN(ui.reset_status(true)); // Show service messages or keep current status
#endif #endif
#if ENABLED(MAX7219_DEBUG) #if ENABLED(MAX7219_DEBUG)
@ -1593,7 +1594,7 @@ void setup() {
#endif #endif
#if BOTH(HAS_LCD_MENU, TOUCH_SCREEN_CALIBRATION) && EITHER(TFT_CLASSIC_UI, TFT_COLOR_UI) #if BOTH(HAS_LCD_MENU, TOUCH_SCREEN_CALIBRATION) && EITHER(TFT_CLASSIC_UI, TFT_COLOR_UI)
ui.check_touch_calibration(); SETUP_RUN(ui.check_touch_calibration());
#endif #endif
marlin_state = MF_RUNNING; marlin_state = MF_RUNNING;