Browse Source

Shutdown heaters and fan after canceling a print from the SD card

pull/1/head
Thomas Moore 8 years ago
committed by Scott Lahteine
parent
commit
acec237092
  1. 5
      Marlin/ultralcd.cpp

5
Marlin/ultralcd.cpp

@ -702,8 +702,9 @@ void kill_screen(const char* lcd_msg) {
clear_command_queue(); clear_command_queue();
quickstop_stepper(); quickstop_stepper();
print_job_timer.stop(); print_job_timer.stop();
#if ENABLED(AUTOTEMP) thermalManager.disable_all_heaters();
thermalManager.autotempShutdown(); #if FAN_COUNT > 0
for (uint8_t i = 0; i < FAN_COUNT; i++) fanSpeeds[i] = 0;
#endif #endif
wait_for_heatup = false; wait_for_heatup = false;
LCD_MESSAGEPGM(MSG_PRINT_ABORTED); LCD_MESSAGEPGM(MSG_PRINT_ABORTED);

Loading…
Cancel
Save