From 8c02dd971bfd8f51e39a0acc9a7c7cf7e8fc71ec Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 19 Oct 2018 13:42:04 -0500 Subject: [PATCH] Move disable_all_steppers to minkill --- Marlin/src/Marlin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/Marlin.cpp b/Marlin/src/Marlin.cpp index 5e6c9792c6..6560853405 100644 --- a/Marlin/src/Marlin.cpp +++ b/Marlin/src/Marlin.cpp @@ -612,7 +612,6 @@ void idle( void kill(PGM_P const lcd_msg/*=NULL*/) { thermalManager.disable_all_heaters(); - disable_all_steppers(); SERIAL_ERROR_START(); SERIAL_ERRORLNPGM(MSG_ERR_KILLED); @@ -638,6 +637,7 @@ void minkill() { cli(); // Stop interrupts _delay_ms(250); // Wait to ensure all interrupts stopped + disable_all_steppers(); thermalManager.disable_all_heaters(); // turn off heaters again #if HAS_POWER_SWITCH