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