Browse Source

Fix M0_M1 with no LCD

Scott Lahteine 7 years ago
parent
commit
f06c3c38b9
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/gcode/lcd/M0_M1.cpp

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

97
     }
97
     }
98
   #endif
98
   #endif
99
 
99
 
100
-  lcd_reset_status();
100
+  #if ENABLED(ULTIPANEL)
101
+    lcd_reset_status();
102
+  #endif
101
 
103
 
102
   wait_for_user = false;
104
   wait_for_user = false;
103
   KEEPALIVE_STATE(IN_HANDLER);
105
   KEEPALIVE_STATE(IN_HANDLER);

Loading…
Cancel
Save