Browse Source

Move disable_all_steppers to minkill

Scott Lahteine 6 years ago
parent
commit
8c02dd971b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/Marlin.cpp

+ 1
- 1
Marlin/src/Marlin.cpp View File

@@ -612,7 +612,6 @@ void idle(
612 612
 void kill(PGM_P const lcd_msg/*=NULL*/) {
613 613
 
614 614
   thermalManager.disable_all_heaters();
615
-  disable_all_steppers();
616 615
 
617 616
   SERIAL_ERROR_START();
618 617
   SERIAL_ERRORLNPGM(MSG_ERR_KILLED);
@@ -638,6 +637,7 @@ void minkill() {
638 637
   cli();           // Stop interrupts
639 638
   _delay_ms(250);  // Wait to ensure all interrupts stopped
640 639
 
640
+  disable_all_steppers();
641 641
   thermalManager.disable_all_heaters(); // turn off heaters again
642 642
 
643 643
   #if HAS_POWER_SWITCH

Loading…
Cancel
Save