No need to check ULTIPANEL with DOGLCD

2.0.x
Scott Lahteine 9 years ago
parent c7eeb09e8f
commit b322ac4417

@ -2311,18 +2311,12 @@ void lcd_update() {
u8g.setColorIndex(dot_color); // Set color for the alive dot
u8g.drawPixel(127, 63); // draw alive dot
u8g.setColorIndex(1); // black on white
#if ENABLED(ULTIPANEL)
(*currentScreen)();
#else
lcd_status_screen();
#endif
(*currentScreen)();
} while (u8g.nextPage());
#elif ENABLED(ULTIPANEL)
(*currentScreen)();
#else
#if ENABLED(ULTIPANEL)
(*currentScreen)();
#else
lcd_status_screen();
#endif
lcd_status_screen();
#endif
}

Loading…
Cancel
Save