|
@@ -2970,9 +2970,9 @@ void lcd_update() {
|
2970
|
2970
|
!lcd_status_update_delay--
|
2971
|
2971
|
) {
|
2972
|
2972
|
lcd_status_update_delay = 9
|
2973
|
|
- #if ENABLED(DOGLCD)
|
2974
|
|
- + 3
|
2975
|
|
- #endif
|
|
2973
|
+ #if ENABLED(DOGLCD)
|
|
2974
|
+ + 3
|
|
2975
|
+ #endif
|
2976
|
2976
|
;
|
2977
|
2977
|
max_display_update_time--;
|
2978
|
2978
|
lcdDrawUpdate = LCDVIEW_REDRAW_NOW;
|
|
@@ -2981,9 +2981,9 @@ void lcd_update() {
|
2981
|
2981
|
millis_t bbr = planner.block_buffer_runtime();
|
2982
|
2982
|
|
2983
|
2983
|
#if ENABLED(DOGLCD)
|
2984
|
|
- if ((lcdDrawUpdate || drawing_screen) && (!bbr || (bbr > max_display_update_time * 2000)))
|
|
2984
|
+ if ((lcdDrawUpdate || drawing_screen) && (!bbr || (bbr > 2 * max_display_update_time * 1000)))
|
2985
|
2985
|
#else
|
2986
|
|
- if (lcdDrawUpdate && (!bbr || (bbr > max_display_update_time * 2000)))
|
|
2986
|
+ if (lcdDrawUpdate && (!bbr || (bbr > 2 * max_display_update_time * 1000)))
|
2987
|
2987
|
#endif
|
2988
|
2988
|
{
|
2989
|
2989
|
#if ENABLED(DOGLCD)
|
|
@@ -3016,13 +3016,13 @@ void lcd_update() {
|
3016
|
3016
|
lcd_setFont(FONT_MENU);
|
3017
|
3017
|
CURRENTSCREEN();
|
3018
|
3018
|
if (drawing_screen && (drawing_screen = u8g.nextPage())) {
|
3019
|
|
- max_display_update_time = max(max_display_update_time, millis() - ms);
|
|
3019
|
+ NOLESS(max_display_update_time, millis() - ms);
|
3020
|
3020
|
return;
|
3021
|
3021
|
}
|
3022
|
3022
|
#else
|
3023
|
3023
|
CURRENTSCREEN();
|
3024
|
3024
|
#endif
|
3025
|
|
- max_display_update_time = max(max_display_update_time, millis() - ms);
|
|
3025
|
+ NOLESS(max_display_update_time, millis() - ms);
|
3026
|
3026
|
}
|
3027
|
3027
|
|
3028
|
3028
|
#if ENABLED(ULTIPANEL)
|