瀏覽代碼

Fix compiler warning

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…
取消
儲存