Skip to content
Snippets Groups Projects
Commit 8c02dd97 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Move disable_all_steppers to minkill

parent 3847c08f
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment