diff --git a/Marlin/src/gcode/lcd/M0_M1.cpp b/Marlin/src/gcode/lcd/M0_M1.cpp
index 6df3f783920d907ded3cac5da00142e5e14d1ffb..bd41673f35d4aa8631e1b8069eb26f45911a401c 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);