From 0149680f541513bac9d71f6e3249739434ae8872 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 7 Mar 2018 16:25:25 -0600 Subject: [PATCH] Fix compile error with char LCD --- Marlin/src/lcd/ultralcd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/src/lcd/ultralcd.cpp b/Marlin/src/lcd/ultralcd.cpp index 7294777f3..efba5c333 100644 --- a/Marlin/src/lcd/ultralcd.cpp +++ b/Marlin/src/lcd/ultralcd.cpp @@ -4861,7 +4861,9 @@ void kill_screen(const char* lcd_msg) { encoderTopLine = 0; encoderPosition = 2 * ENCODER_STEPS_PER_MENU_ITEM; screen_changed = true; - first_page = false; + #if ENABLED(DOGLCD) + first_page = false; + #endif lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; }