|
@@ -4745,16 +4745,18 @@ void lcd_update() {
|
4745
|
4745
|
// then we want to use 1/2 of the time only.
|
4746
|
4746
|
uint16_t bbr2 = planner.block_buffer_runtime() >> 1;
|
4747
|
4747
|
|
4748
|
|
- #if ENABLED(DOGLCD)
|
4749
|
|
- if ((lcdDrawUpdate || drawing_screen) && (!bbr2 || (bbr2 > max_display_update_time)
|
4750
|
|
- #if ENABLED(SDSUPPORT)
|
4751
|
|
- || (currentScreen == lcd_sdcard_menu)
|
|
4748
|
+ if (
|
|
4749
|
+ #if ENABLED(DOGLCD)
|
|
4750
|
+ (lcdDrawUpdate || drawing_screen) && (
|
|
4751
|
+ !bbr2 || (bbr2 > max_display_update_time)
|
|
4752
|
+ #if ENABLED(SDSUPPORT)
|
|
4753
|
+ || currentScreen == lcd_sdcard_menu
|
|
4754
|
+ #endif
|
|
4755
|
+ )
|
|
4756
|
+ #else
|
|
4757
|
+ lcdDrawUpdate && (!bbr2 || (bbr2 > max_display_update_time))
|
4752
|
4758
|
#endif
|
4753
|
|
- ))
|
4754
|
|
- #else
|
4755
|
|
- if (lcdDrawUpdate && (!bbr2 || (bbr2 > max_display_update_time)))
|
4756
|
|
- #endif
|
4757
|
|
- {
|
|
4759
|
+ ) {
|
4758
|
4760
|
#if ENABLED(DOGLCD)
|
4759
|
4761
|
if (!drawing_screen)
|
4760
|
4762
|
#endif
|