STM32F4xx modifications for HAL_STM32 (#12080)
This commit is contained in:
committed by
Scott Lahteine
parent
bf0c809ff2
commit
8b5e51c9aa
@@ -31,7 +31,14 @@
|
||||
|
||||
void watchdog_init() { IWatchdog.begin(4000000); } // 4 sec timeout
|
||||
|
||||
void watchdog_reset() { IWatchdog.reload(); }
|
||||
void watchdog_reset()
|
||||
{
|
||||
IWatchdog.reload();
|
||||
|
||||
#if PIN_EXISTS(LED)
|
||||
TOGGLE(LED_PIN); // heart beat indicator
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // USE_WATCHDOG
|
||||
#endif // ARDUINO_ARCH_STM32
|
||||
|
||||
Reference in New Issue
Block a user