mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-29 09:29:08 +00:00
🐛 Safe Delay for ProUI startup animation (#25827)
This commit is contained in:
parent
5201869a55
commit
e66cd41654
3 changed files with 6 additions and 2 deletions
|
@ -760,3 +760,7 @@
|
||||||
#ifdef STM32F4_UPDATE_FOLDER
|
#ifdef STM32F4_UPDATE_FOLDER
|
||||||
#warning "Place the firmware bin file in a folder named 'STM32F4_UPDATE' on the SD card. Install with 'M936 V2'."
|
#warning "Place the firmware bin file in a folder named 'STM32F4_UPDATE' on the SD card. Install with 'M936 V2'."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(DWIN_LCD_PROUI) && BOOTSCREEN_TIMEOUT > 2000
|
||||||
|
#warning "For ProUI the original BOOTSCREEN_TIMEOUT of 1100 is recommended."
|
||||||
|
#endif
|
||||||
|
|
|
@ -1235,7 +1235,7 @@ void HMI_Init() {
|
||||||
DWINUI::Draw_Icon(ICON_Bar, 15, 260);
|
DWINUI::Draw_Icon(ICON_Bar, 15, 260);
|
||||||
DWIN_Draw_Rectangle(1, HMI_data.Background_Color, t, 260, 257, 280);
|
DWIN_Draw_Rectangle(1, HMI_data.Background_Color, t, 260, 257, 280);
|
||||||
DWIN_UpdateLCD();
|
DWIN_UpdateLCD();
|
||||||
delay((BOOTSCREEN_TIMEOUT) / 22);
|
safe_delay((BOOTSCREEN_TIMEOUT) / 22);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
HMI_SetLanguage();
|
HMI_SetLanguage();
|
||||||
|
|
|
@ -29,7 +29,7 @@ opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU SET_PROGRESS_MANUALLY S
|
||||||
SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
|
SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
|
||||||
BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_UBL MESH_EDIT_MENU \
|
BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_UBL MESH_EDIT_MENU \
|
||||||
LIMITED_MAX_FR_EDITING LIMITED_MAX_ACCEL_EDITING LIMITED_JERK_EDITING BAUD_RATE_GCODE
|
LIMITED_MAX_FR_EDITING LIMITED_MAX_ACCEL_EDITING LIMITED_JERK_EDITING BAUD_RATE_GCODE
|
||||||
opt_set PREHEAT_3_LABEL '"CUSTOM"' PREHEAT_3_TEMP_HOTEND 240 PREHEAT_3_TEMP_BED 60 PREHEAT_3_FAN_SPEED 128
|
opt_set PREHEAT_3_LABEL '"CUSTOM"' PREHEAT_3_TEMP_HOTEND 240 PREHEAT_3_TEMP_BED 60 PREHEAT_3_FAN_SPEED 128 BOOTSCREEN_TIMEOUT 1100
|
||||||
exec_test $1 $2 "Ender-3 S1 - ProUI (PIDTEMP)" "$3"
|
exec_test $1 $2 "Ender-3 S1 - ProUI (PIDTEMP)" "$3"
|
||||||
|
|
||||||
restore_configs
|
restore_configs
|
||||||
|
|
Loading…
Add table
Reference in a new issue