No need to check ULTIPANEL with DOGLCD

This commit is contained in:
Scott Lahteine 2016-06-11 16:50:06 -07:00
parent c7eeb09e8f
commit b322ac4417

View File

@ -2311,18 +2311,12 @@ 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)();
#else
lcd_status_screen();
#endif
} while (u8g.nextPage());
#else
#if ENABLED(ULTIPANEL)
(*currentScreen)(); (*currentScreen)();
#else } while (u8g.nextPage());
lcd_status_screen(); #elif ENABLED(ULTIPANEL)
#endif (*currentScreen)();
#else
lcd_status_screen();
#endif #endif
} }