Scott Lahteine преди 7 години
родител
ревизия
9969c06cb5
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2
    2
      Marlin/src/Marlin.cpp

+ 2
- 2
Marlin/src/Marlin.cpp Целия файл

@@ -635,12 +635,12 @@ void kill(PGM_P const lcd_msg/*=NULL*/) {
635 635
 void minkill() {
636 636
 
637 637
   // Wait a short time (allows messages to get out before shutting down.
638
-  DELAY_US(600000);
638
+  for (uint8_t i = 100; i--;) DELAY_US(6000);
639 639
 
640 640
   cli(); // Stop interrupts
641 641
 
642 642
   // Wait to ensure all interrupts stopped
643
-  DELAY_US(250000);
643
+  for (uint8_t i = 100; i--;) DELAY_US(2500);
644 644
 
645 645
   thermalManager.disable_all_heaters(); // turn off heaters again
646 646
 

Loading…
Отказ
Запис