Init watchdog last in setup()

This commit is contained in:
Scott Lahteine 2018-03-08 17:36:01 -06:00
parent 282170a259
commit de8fbdea6d

View File

@ -13655,10 +13655,6 @@ void setup() {
print_job_timer.init(); // Initial setup of print job timer
#if ENABLED(USE_WATCHDOG)
watchdog_init();
#endif
stepper.init(); // Initialize stepper, this enables interrupts!
servo_init();
@ -13810,6 +13806,10 @@ void setup() {
delay(1000);
WRITE(LCD_PINS_RS, HIGH);
#endif
#if ENABLED(USE_WATCHDOG)
watchdog_init();
#endif
}
/**