Browse Source

Fix LPC1768 build with no watchdog

Fix issue mentioned at https://github.com/MarlinFirmware/Marlin/pull/13587#issuecomment-481737509
Scott Lahteine 5 years ago
parent
commit
d72946a8d7
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

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

@@ -74,8 +74,10 @@ void watchdog_reset() {
74 74
 
75 75
 #else
76 76
 
77
-  void HAL_clear_reset_source(void) {}
78
-  uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
77
+void watchdog_init(void) {}
78
+void watchdog_reset(void) {}
79
+void HAL_clear_reset_source(void) {}
80
+uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
79 81
 
80 82
 #endif // USE_WATCHDOG
81 83
 

Loading…
Cancel
Save