Fix LPC1768 build with no watchdog
Fix issue mentioned at https://github.com/MarlinFirmware/Marlin/pull/13587#issuecomment-481737509
This commit is contained in:
parent
cee3b172b9
commit
d72946a8d7
|
@ -74,8 +74,10 @@ void watchdog_reset() {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
void HAL_clear_reset_source(void) {}
|
void watchdog_init(void) {}
|
||||||
uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
|
void watchdog_reset(void) {}
|
||||||
|
void HAL_clear_reset_source(void) {}
|
||||||
|
uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
|
||||||
|
|
||||||
#endif // USE_WATCHDOG
|
#endif // USE_WATCHDOG
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue