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

2.0.x
Thomas Moore 8 years ago committed by Scott Lahteine
parent e1b85ff67b
commit acec237092

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

Loading…
Cancel
Save