2 Commits

Author SHA1 Message Date
eeeck 75efc4840d Use new context structure instead of direct pass 2026-06-14 15:17:03 +02:00
eeeck a75d42faeb Create context structure for timer callback
Strucure is made of
-  LED (port, pin)
- Semaphore
- Timer handle
2026-06-14 15:16:23 +02:00
+1 -1
View File
@@ -130,7 +130,7 @@ void vCANLoggerListen(void *argument)
void vLEDHeartbeat(void *argument)
{
/* CODE BEGIN */
LED_Config *led = (LED_Config*)argument;
LEDContext *ctx = (LEDContext*)argument;
if (osSemaphoreAcquire(ctx->sem, 0U) == osOK)
{