Shutdown heaters and fan after canceling a print from the SD card
This commit is contained in:
parent
e1b85ff67b
commit
acec237092
@ -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…
Reference in New Issue
Block a user