mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
Use ms
where possible.
This commit is contained in:
parent
34ce9c4c1c
commit
8459f7fa5c
@ -2184,7 +2184,7 @@ void lcd_update() {
|
||||
// Return to Status Screen after a timeout
|
||||
if (defer_return_to_status)
|
||||
return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
|
||||
else if (currentMenu != lcd_status_screen && millis() > return_to_status_ms) {
|
||||
else if (currentMenu != lcd_status_screen && ms > return_to_status_ms) {
|
||||
lcd_return_to_status();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user