Browse Source

Use disable_all_heaters in M111

pull/1/head
Scott Lahteine 10 years ago
committed by Richard Wackerbarth
parent
commit
6b494c1535
  1. 5
      Marlin/Marlin_main.cpp

5
Marlin/Marlin_main.cpp

@ -3643,10 +3643,7 @@ inline void gcode_M111() {
//if (marlin_debug_flags & DEBUG_ERRORS) SERIAL_ECHOLNPGM(MSG_DEBUG_ERRORS);
if (marlin_debug_flags & DEBUG_DRYRUN) {
SERIAL_ECHOLNPGM(MSG_DEBUG_DRYRUN);
setTargetBed(0);
for (int8_t cur_hotend = 0; cur_hotend < EXTRUDERS; ++cur_hotend) {
setTargetHotend(0, cur_hotend);
}
disable_all_heaters();
}
SERIAL_EOL;
}

Loading…
Cancel
Save