Browse Source

Fix compiler warning

Scott Lahteine 6 years ago
parent
commit
9969c06cb5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/Marlin.cpp

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

635
 void minkill() {
635
 void minkill() {
636
 
636
 
637
   // Wait a short time (allows messages to get out before shutting down.
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
   cli(); // Stop interrupts
640
   cli(); // Stop interrupts
641
 
641
 
642
   // Wait to ensure all interrupts stopped
642
   // Wait to ensure all interrupts stopped
643
-  DELAY_US(250000);
643
+  for (uint8_t i = 100; i--;) DELAY_US(2500);
644
 
644
 
645
   thermalManager.disable_all_heaters(); // turn off heaters again
645
   thermalManager.disable_all_heaters(); // turn off heaters again
646
 
646
 

Loading…
Cancel
Save