Ver código fonte

Fix compiler warning

Scott Lahteine 7 anos atrás
pai
commit
9969c06cb5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      Marlin/src/Marlin.cpp

+ 2
- 2
Marlin/src/Marlin.cpp Ver arquivo

@@ -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
 

Carregando…
Cancelar
Salvar