Merge pull request #4014 from thinkyhead/rc_one_less_ultipanel_cond
No need to check ULTIPANEL with DOGLCD
This commit is contained in:
commit
e51f8df097
1 changed files with 5 additions and 11 deletions
|
@ -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
|
||||
} while (u8g.nextPage());
|
||||
#else
|
||||
#if ENABLED(ULTIPANEL)
|
||||
(*currentScreen)();
|
||||
#else
|
||||
lcd_status_screen();
|
||||
#endif
|
||||
} while (u8g.nextPage());
|
||||
#elif ENABLED(ULTIPANEL)
|
||||
(*currentScreen)();
|
||||
#else
|
||||
lcd_status_screen();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue