Init watchdog last in setup()
This commit is contained in:
parent
282170a259
commit
de8fbdea6d
1 changed files with 4 additions and 4 deletions
|
@ -13655,10 +13655,6 @@ void setup() {
|
||||||
|
|
||||||
print_job_timer.init(); // Initial setup of print job timer
|
print_job_timer.init(); // Initial setup of print job timer
|
||||||
|
|
||||||
#if ENABLED(USE_WATCHDOG)
|
|
||||||
watchdog_init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
stepper.init(); // Initialize stepper, this enables interrupts!
|
stepper.init(); // Initialize stepper, this enables interrupts!
|
||||||
servo_init();
|
servo_init();
|
||||||
|
|
||||||
|
@ -13810,6 +13806,10 @@ void setup() {
|
||||||
delay(1000);
|
delay(1000);
|
||||||
WRITE(LCD_PINS_RS, HIGH);
|
WRITE(LCD_PINS_RS, HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(USE_WATCHDOG)
|
||||||
|
watchdog_init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue