Use ms
where possible.
This commit is contained in:
parent
34ce9c4c1c
commit
8459f7fa5c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue