mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 21:36:21 +00:00
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();
|
||||
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…
Reference in New Issue
Block a user