Browse Source

Watchdog conditional for LPC

Scott Lahteine 7 years ago
parent
commit
b939a2e88c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

+ 4
- 0
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp View File

24
 
24
 
25
 #include "../../inc/MarlinConfig.h"
25
 #include "../../inc/MarlinConfig.h"
26
 
26
 
27
+#if ENABLED(USE_WATCHDOG)
28
+
27
 #include "lpc17xx_wdt.h"
29
 #include "lpc17xx_wdt.h"
28
 #include "watchdog.h"
30
 #include "watchdog.h"
29
 
31
 
48
   #endif
50
   #endif
49
 }
51
 }
50
 
52
 
53
+#endif // USE_WATCHDOG
54
+
51
 #endif // TARGET_LPC1768
55
 #endif // TARGET_LPC1768

Loading…
Cancel
Save