Write HIGH status on LED on incoming CAN message and start 25ms timer

This commit is contained in:
2026-06-14 14:19:30 +02:00
parent d6ea04e33e
commit 2e2150ebd2
+3 -1
View File
@@ -112,7 +112,9 @@ void vCANLoggerListen(void *argument)
if (osMessageQueueGet(queue, &message, NULL, osWaitForever) == osOK) if (osMessageQueueGet(queue, &message, NULL, osWaitForever) == osOK)
{ {
// TODO: parse message send message to serial/uart // TODO: parse message send message to serial/uart
// TODO: add rtos semaphore to blink the LED with the timer already set
HAL_GPIO_WritePin(led_can1.port, led_can1.pin, GPIO_PIN_SET);
osTimerStart(xHeartbeatTimerCAN1, 25U);
} }
} }
/* CODE END */ /* CODE END */