From acec237092b16755c93d5f4eb2517cc8d9cd3624 Mon Sep 17 00:00:00 2001 From: Thomas Moore Date: Tue, 2 May 2017 18:41:26 -0500 Subject: [PATCH] Shutdown heaters and fan after canceling a print from the SD card --- Marlin/ultralcd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index e08633aa5..2ba3ee5bd 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -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);