Suppress compiler warning
This commit is contained in:
parent
6ee2af5e2d
commit
e5ae7a07d1
|
@ -635,12 +635,12 @@ void kill(PGM_P const lcd_msg/*=NULL*/) {
|
|||
void minkill() {
|
||||
|
||||
// Wait a short time (allows messages to get out before shutting down.
|
||||
for (uint8_t i = 100; i--;) DELAY_US(6000);
|
||||
for (int i = 1000; i--;) DELAY_US(600);
|
||||
|
||||
cli(); // Stop interrupts
|
||||
|
||||
// Wait to ensure all interrupts stopped
|
||||
for (uint8_t i = 100; i--;) DELAY_US(2500);
|
||||
for (int i = 1000; i--;) DELAY_US(250);
|
||||
|
||||
thermalManager.disable_all_heaters(); // turn off heaters again
|
||||
|
||||
|
|
Loading…
Reference in a new issue