|
|
@ -4745,16 +4745,18 @@ void lcd_update() {
|
|
|
|
// then we want to use 1/2 of the time only.
|
|
|
|
// then we want to use 1/2 of the time only.
|
|
|
|
uint16_t bbr2 = planner.block_buffer_runtime() >> 1;
|
|
|
|
uint16_t bbr2 = planner.block_buffer_runtime() >> 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (
|
|
|
|
#if ENABLED(DOGLCD)
|
|
|
|
#if ENABLED(DOGLCD)
|
|
|
|
if ((lcdDrawUpdate || drawing_screen) && (!bbr2 || (bbr2 > max_display_update_time)
|
|
|
|
(lcdDrawUpdate || drawing_screen) && (
|
|
|
|
|
|
|
|
!bbr2 || (bbr2 > max_display_update_time)
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
|| (currentScreen == lcd_sdcard_menu)
|
|
|
|
|| currentScreen == lcd_sdcard_menu
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
))
|
|
|
|
)
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
if (lcdDrawUpdate && (!bbr2 || (bbr2 > max_display_update_time)))
|
|
|
|
lcdDrawUpdate && (!bbr2 || (bbr2 > max_display_update_time))
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
) {
|
|
|
|
#if ENABLED(DOGLCD)
|
|
|
|
#if ENABLED(DOGLCD)
|
|
|
|
if (!drawing_screen)
|
|
|
|
if (!drawing_screen)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|