Browse Source

Fix compile error with char LCD

Scott Lahteine 7 years ago
parent
commit
0149680f54
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/lcd/ultralcd.cpp

+ 3
- 1
Marlin/src/lcd/ultralcd.cpp View File

@@ -4861,7 +4861,9 @@ void kill_screen(const char* lcd_msg) {
4861 4861
       encoderTopLine = 0;
4862 4862
       encoderPosition = 2 * ENCODER_STEPS_PER_MENU_ITEM;
4863 4863
       screen_changed = true;
4864
-      first_page = false;
4864
+      #if ENABLED(DOGLCD)
4865
+        first_page = false;
4866
+      #endif
4865 4867
       lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
4866 4868
     }
4867 4869
 

Loading…
Cancel
Save