Browse Source

Use `ms` where possible.

Scott Lahteine 9 years ago
parent
commit
8459f7fa5c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -2184,7 +2184,7 @@ void lcd_update() {
2184 2184
       // Return to Status Screen after a timeout
2185 2185
       if (defer_return_to_status)
2186 2186
         return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
2187
-      else if (currentMenu != lcd_status_screen && millis() > return_to_status_ms) {
2187
+      else if (currentMenu != lcd_status_screen && ms > return_to_status_ms) {
2188 2188
         lcd_return_to_status();
2189 2189
       }
2190 2190
 

Loading…
Cancel
Save