Watchdog conditional for LPC

This commit is contained in:
Scott Lahteine 2018-02-04 17:35:59 -06:00
parent 3a1225e438
commit b939a2e88c

View file

@ -24,6 +24,8 @@
#include "../../inc/MarlinConfig.h" #include "../../inc/MarlinConfig.h"
#if ENABLED(USE_WATCHDOG)
#include "lpc17xx_wdt.h" #include "lpc17xx_wdt.h"
#include "watchdog.h" #include "watchdog.h"
@ -48,4 +50,6 @@ void watchdog_reset() {
#endif #endif
} }
#endif // USE_WATCHDOG
#endif // TARGET_LPC1768 #endif // TARGET_LPC1768