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