|
|
@ -46,6 +46,7 @@ void app_safety_pass_soc_temp_ok() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void app_safety_poll() { |
|
|
|
void app_safety_poll() { |
|
|
|
|
|
|
|
PRINTF("\r\n*** HB FLAGS %x ***\r\n", heartbeat_flags); |
|
|
|
if ((heartbeat_flags & HB_FLAG_ALL) == HB_FLAG_ALL) { |
|
|
|
if ((heartbeat_flags & HB_FLAG_ALL) == HB_FLAG_ALL) { |
|
|
|
LL_IWDG_ReloadCounter(IWDG); |
|
|
|
LL_IWDG_ReloadCounter(IWDG); |
|
|
|
LL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin); |
|
|
|
LL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin); |
|
|
|