Browse Source

Simplify the delay in kill()

Scott Lahteine 8 years ago
parent
commit
45f67164b6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -8671,7 +8671,7 @@ void kill(const char* lcd_msg) {
8671 8671
     UNUSED(lcd_msg);
8672 8672
   #endif
8673 8673
 
8674
-  for (int i = 5; i--;) delay(100); // Wait a short time
8674
+  delay(500); // Wait a short time
8675 8675
 
8676 8676
   cli(); // Stop interrupts
8677 8677
   thermalManager.disable_all_heaters();

Loading…
Cancel
Save