Use a more generic name as semaphore will be used by other tasks

This commit is contained in:
2026-06-14 17:10:34 +02:00
parent 5a3223af29
commit 17febf569a
2 changed files with 7 additions and 8 deletions
+2 -3
View File
@@ -111,9 +111,8 @@ void vCANLoggerListen(void *argument)
{
if (osMessageQueueGet(queue, &message, NULL, osWaitForever) == osOK)
{
// TODO: parse message send message to serial/uart
osSemaphoreRelease( (hcan->Instance == CAN1) ? xLEDSemaphoreCAN1 : xLEDSemaphoreCAN2 );
osSemaphoreRelease( (hcan->Instance == CAN1) ? xSemaphoreCAN1 : xLEDSemaphoreCAN2 );
// TODO: use this semaphore
}
}