Fix compile issue when watchdog was disabled

2.0.x
Christopher Pepper 7 years ago committed by Scott Lahteine
parent b908e38d08
commit 8afe13b1a2

@ -24,8 +24,6 @@
#include "../../../MarlinConfig.h" #include "../../../MarlinConfig.h"
#if ENABLED(USE_WATCHDOG)
#include "lpc17xx_wdt.h" #include "lpc17xx_wdt.h"
#include "watchdog.h" #include "watchdog.h"
@ -48,6 +46,4 @@ void watchdog_reset() {
TOGGLE(13); // heart beat indicator on Pin13 TOGGLE(13); // heart beat indicator on Pin13
} }
#endif // USE_WATCHDOG
#endif // TARGET_LPC1768 #endif // TARGET_LPC1768

Loading…
Cancel
Save