From de8fbdea6de924c2042f144294e76f3324e53cd7 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 8 Mar 2018 17:36:01 -0600 Subject: [PATCH] Init watchdog last in setup() --- Marlin/Marlin_main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 32289275b..4ec80b80b 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -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 } /**