Watchdog conditional for LPC
This commit is contained in:
parent
3a1225e438
commit
b939a2e88c
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
||||
#include "lpc17xx_wdt.h"
|
||||
#include "watchdog.h"
|
||||
|
||||
|
@ -48,4 +50,6 @@ void watchdog_reset() {
|
|||
#endif
|
||||
}
|
||||
|
||||
#endif // USE_WATCHDOG
|
||||
|
||||
#endif // TARGET_LPC1768
|
||||
|
|
Reference in a new issue