Browse Source

Use disable_all_heaters in M111

Scott Lahteine 10 years ago
parent
commit
6b494c1535
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      Marlin/Marlin_main.cpp

+ 1
- 4
Marlin/Marlin_main.cpp View File

3643
   //if (marlin_debug_flags & DEBUG_ERRORS) SERIAL_ECHOLNPGM(MSG_DEBUG_ERRORS);
3643
   //if (marlin_debug_flags & DEBUG_ERRORS) SERIAL_ECHOLNPGM(MSG_DEBUG_ERRORS);
3644
   if (marlin_debug_flags & DEBUG_DRYRUN) {
3644
   if (marlin_debug_flags & DEBUG_DRYRUN) {
3645
     SERIAL_ECHOLNPGM(MSG_DEBUG_DRYRUN);
3645
     SERIAL_ECHOLNPGM(MSG_DEBUG_DRYRUN);
3646
-    setTargetBed(0);
3647
-    for (int8_t cur_hotend = 0; cur_hotend < EXTRUDERS; ++cur_hotend) {
3648
-      setTargetHotend(0, cur_hotend);
3649
-    }
3646
+    disable_all_heaters();
3650
   }
3647
   }
3651
   SERIAL_EOL;
3648
   SERIAL_EOL;
3652
 }
3649
 }

Loading…
Cancel
Save