Simplify the delay in kill()
This commit is contained in:
parent
30b1c731b5
commit
45f67164b6
1 changed files with 1 additions and 1 deletions
|
@ -8671,7 +8671,7 @@ void kill(const char* lcd_msg) {
|
||||||
UNUSED(lcd_msg);
|
UNUSED(lcd_msg);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (int i = 5; i--;) delay(100); // Wait a short time
|
delay(500); // Wait a short time
|
||||||
|
|
||||||
cli(); // Stop interrupts
|
cli(); // Stop interrupts
|
||||||
thermalManager.disable_all_heaters();
|
thermalManager.disable_all_heaters();
|
||||||
|
|
Reference in a new issue