♻️ Refactor status screen timeout

This commit is contained in:
Scott Lahteine
2021-06-27 00:33:44 -05:00
parent e3ae76d76d
commit 2b37a71eba
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)