No need to check ULTIPANEL with DOGLCD
This commit is contained in:
parent
c7eeb09e8f
commit
b322ac4417
@ -2311,19 +2311,13 @@ void lcd_update() {
|
|||||||
u8g.setColorIndex(dot_color); // Set color for the alive dot
|
u8g.setColorIndex(dot_color); // Set color for the alive dot
|
||||||
u8g.drawPixel(127, 63); // draw alive dot
|
u8g.drawPixel(127, 63); // draw alive dot
|
||||||
u8g.setColorIndex(1); // black on white
|
u8g.setColorIndex(1); // black on white
|
||||||
#if ENABLED(ULTIPANEL)
|
|
||||||
(*currentScreen)();
|
(*currentScreen)();
|
||||||
#else
|
|
||||||
lcd_status_screen();
|
|
||||||
#endif
|
|
||||||
} while (u8g.nextPage());
|
} while (u8g.nextPage());
|
||||||
#else
|
#elif ENABLED(ULTIPANEL)
|
||||||
#if ENABLED(ULTIPANEL)
|
|
||||||
(*currentScreen)();
|
(*currentScreen)();
|
||||||
#else
|
#else
|
||||||
lcd_status_screen();
|
lcd_status_screen();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLED(ULTIPANEL)
|
#if ENABLED(ULTIPANEL)
|
||||||
|
Loading…
Reference in New Issue
Block a user