Browse Source

Merge pull request #5577 from manianac/RCBugFix-M600Dryrun

Allow M600 when dryrun debugging
Scott Lahteine 8 years ago
parent
commit
71378f72af
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -7267,7 +7267,7 @@ inline void gcode_M503() {
7267 7267
    */
7268 7268
   inline void gcode_M600() {
7269 7269
 
7270
-    if (thermalManager.tooColdToExtrude(active_extruder)) {
7270
+    if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
7271 7271
       SERIAL_ERROR_START;
7272 7272
       SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
7273 7273
       return;

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -829,7 +829,7 @@ void kill_screen(const char* lcd_msg) {
829 829
 
830 830
   #if ENABLED(FILAMENT_CHANGE_FEATURE)
831 831
     void lcd_enqueue_filament_change() {
832
-      if (thermalManager.tooColdToExtrude(active_extruder)) {
832
+      if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
833 833
         lcd_save_previous_screen();
834 834
         lcd_goto_screen(lcd_filament_change_toocold_menu);
835 835
         return;

Loading…
Cancel
Save