From f06c3c38b9dd040730c8135f69175e9bfa63cd33 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 24 Apr 2018 09:22:05 -0500 Subject: [PATCH] Fix M0_M1 with no LCD --- Marlin/src/gcode/lcd/M0_M1.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/src/gcode/lcd/M0_M1.cpp b/Marlin/src/gcode/lcd/M0_M1.cpp index 6df3f78392..bd41673f35 100644 --- a/Marlin/src/gcode/lcd/M0_M1.cpp +++ b/Marlin/src/gcode/lcd/M0_M1.cpp @@ -97,7 +97,9 @@ void GcodeSuite::M0_M1() { } #endif - lcd_reset_status(); + #if ENABLED(ULTIPANEL) + lcd_reset_status(); + #endif wait_for_user = false; KEEPALIVE_STATE(IN_HANDLER);