Browse Source

Fix LPC1768 build with no watchdog

Fix issue mentioned at https://github.com/MarlinFirmware/Marlin/pull/13587#issuecomment-481737509
pull/1/head
Scott Lahteine 6 years ago
parent
commit
d72946a8d7
  1. 6
      Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

6
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

@ -74,8 +74,10 @@ void watchdog_reset() {
#else
void HAL_clear_reset_source(void) {}
uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
void watchdog_init(void) {}
void watchdog_reset(void) {}
void HAL_clear_reset_source(void) {}
uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
#endif // USE_WATCHDOG

Loading…
Cancel
Save