Start timer once for automatic rearming with semaphore release

This commit is contained in:
2026-06-14 14:51:46 +02:00
parent de6dc24dd3
commit 5f1695dc0d
+3
View File
@@ -163,6 +163,9 @@ int main(void)
xHeartbeatTimerCAN1 = osTimerNew(vLEDHeartbeat, osTimerOnce, &led_can1, NULL);
xHeartbeatTimerCAN2 = osTimerNew(vLEDHeartbeat, osTimerOnce, &led_can2, NULL);
osTimerStart(xHeartbeatTimerCAN1, 25U);
osTimerStart(xHeartbeatTimerCAN2, 25U);
if (xHeartbeatTimerCAN1 == NULL || xHeartbeatTimerCAN2 == NULL) Error_Handler();
/* USER CODE END RTOS_TIMERS */