From b322ac4417cc43a0669e64e390462604aa3eabcd Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 11 Jun 2016 16:50:06 -0700 Subject: [PATCH] No need to check ULTIPANEL with DOGLCD --- Marlin/ultralcd.cpp | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index 1f58183e6..0fe780919 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -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 }