Browse Source

Fix LCD throttle issue (#18055)

Fixes #18044
vanilla_fb_2.0.x
Giuliano Zaro 5 years ago
committed by GitHub
parent
commit
0b0ba7dcf6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/ultralcd.cpp

2
Marlin/src/lcd/ultralcd.cpp

@ -881,7 +881,7 @@ void MarlinUI::update() {
// Instead of tracking changes just redraw the Status Screen once per second. // Instead of tracking changes just redraw the Status Screen once per second.
if (on_status_screen() && !lcd_status_update_delay--) { if (on_status_screen() && !lcd_status_update_delay--) {
lcd_status_update_delay = TERN(HAS_GRAPHICAL_LCD, 12, 9); 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); refresh(LCDVIEW_REDRAW_NOW);
} }

Loading…
Cancel
Save