♻️ Refactor status screen timeout

This commit is contained in:
Scott Lahteine
2021-06-27 00:33:44 -05:00
parent 761d7b77d8
commit f9051e5469
9 changed files with 56 additions and 54 deletions

View File

@@ -93,9 +93,7 @@ void Touch::idle() {
}
#endif
#if LCD_TIMEOUT_TO_STATUS
ui.return_to_status_ms = last_touch_ms + LCD_TIMEOUT_TO_STATUS;
#endif
ui.reset_status_timeout(last_touch_ms);
if (touch_time) {
#if ENABLED(TOUCH_SCREEN_CALIBRATION)