Init watchdog last in setup()
This commit is contained in:
parent
282170a259
commit
de8fbdea6d
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user