1 Commits

Author SHA1 Message Date
eeeck 643cac8ea6 Create context structure for timer callback
Strucure is made of
-  LED (port, pin)
- Semaphore
- Timer handle
2026-06-14 15:13:24 +02:00
+1 -1
View File
@@ -130,7 +130,7 @@ void vCANLoggerListen(void *argument)
void vLEDHeartbeat(void *argument)
{
/* CODE BEGIN */
LEDContext *ctx = (LEDContext*)argument;
LED_Config *led = (LED_Config*)argument;
if (osSemaphoreAcquire(ctx->sem, 0U) == osOK)
{