One loop call to ui.update
This commit is contained in:
parent
67db50c699
commit
8000182bb9
1 changed files with 2 additions and 5 deletions
|
@ -699,9 +699,6 @@ void idle(TERN_(ADVANCED_PAUSE_FEATURE, bool no_stepper_sleep/*=false*/)) {
|
||||||
// Handle SD Card insert / remove
|
// Handle SD Card insert / remove
|
||||||
TERN_(SDSUPPORT, card.manage_media());
|
TERN_(SDSUPPORT, card.manage_media());
|
||||||
|
|
||||||
// Handle UI input / draw events
|
|
||||||
TERN(DWIN_CREALITY_LCD, DWIN_Update(), ui.update());
|
|
||||||
|
|
||||||
// Handle USB Flash Drive insert / remove
|
// Handle USB Flash Drive insert / remove
|
||||||
TERN_(USB_FLASH_DRIVE_SUPPORT, Sd2Card::idle());
|
TERN_(USB_FLASH_DRIVE_SUPPORT, Sd2Card::idle());
|
||||||
|
|
||||||
|
@ -714,8 +711,8 @@ void idle(TERN_(ADVANCED_PAUSE_FEATURE, bool no_stepper_sleep/*=false*/)) {
|
||||||
// Update the Beeper queue
|
// Update the Beeper queue
|
||||||
TERN_(USE_BEEPER, buzzer.tick());
|
TERN_(USE_BEEPER, buzzer.tick());
|
||||||
|
|
||||||
// Read Buttons and Update the LCD
|
// Handle UI input / draw events
|
||||||
ui.update();
|
TERN(DWIN_CREALITY_LCD, DWIN_Update(), ui.update());
|
||||||
|
|
||||||
// Run i2c Position Encoders
|
// Run i2c Position Encoders
|
||||||
#if ENABLED(I2C_POSITION_ENCODERS)
|
#if ENABLED(I2C_POSITION_ENCODERS)
|
||||||
|
|
Reference in a new issue