From 657d6914ac3bebe22a651e8b5f56d7d1386fe56e Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Mon, 15 Jun 2026 14:01:55 +0200 Subject: [PATCH] Syncronize semaphore counters to queue dimension --- Core/Src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Src/main.c b/Core/Src/main.c index 26287f1..3f926a9 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -151,8 +151,8 @@ int main(void) /* USER CODE END RTOS_MUTEX */ /* USER CODE BEGIN RTOS_SEMAPHORES */ - xSemaphoreCAN1 = osSemaphoreNew(10, 0, NULL); - xSemaphoreCAN2 = osSemaphoreNew(10, 0, NULL); + xSemaphoreCAN1 = osSemaphoreNew(32, 0, NULL); + xSemaphoreCAN2 = osSemaphoreNew(32, 0, NULL); if (xSemaphoreCAN1 == NULL || xSemaphoreCAN2 == NULL) Error_Handler();