Fix LCD throttle issue (#18055)

Fixes #18044
This commit is contained in:
Giuliano Zaro 2020-05-20 22:28:02 +02:00 committed by GitHub
parent 7be748b9b7
commit 0b0ba7dcf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -881,7 +881,7 @@ void MarlinUI::update() {
// Instead of tracking changes just redraw the Status Screen once per second.
if (on_status_screen() && !lcd_status_update_delay--) {
lcd_status_update_delay = TERN(HAS_GRAPHICAL_LCD, 12, 9);
max_display_update_time--;
if (max_display_update_time) max_display_update_time--; // Be sure never go to a very big number
refresh(LCDVIEW_REDRAW_NOW);
}