Fix double semaphore release

This commit is contained in:
2026-06-15 14:17:12 +02:00
parent c1d2e65e20
commit b1744ce941
+1 -1
View File
@@ -111,7 +111,7 @@ void vCANLoggerListen(void *argument)
{
if (osMessageQueueGet(queue, &message, NULL, osWaitForever) == osOK)
{
osSemaphoreRelease( (hcan->Instance == CAN1) ? xSemaphoreCAN1 : xSemaphoreCAN2 );
//
}
}
/* CODE END */