Fix warning in gcode_D

This commit is contained in:
Scott Lahteine
2020-10-23 19:25:22 -05:00
parent 2fed3982d6
commit d3ee5d7dfe
3 changed files with 4 additions and 4 deletions

View File

@ -181,7 +181,7 @@
// Use a low-level delay that does not rely on interrupts to function
// Do not spin forever, to avoid thermal risks if heaters are enabled and
// watchdog does not work.
DELAY_US(10000000);
for (int i = 10000; i--;) DELAY_US(1000UL);
ENABLE_ISRS();
SERIAL_ECHOLNPGM("FAILURE: Watchdog did not trigger board reset.");
}