From dca7707d28370c36ee00c733d25a1c06e2ab21fb Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Mon, 15 Jun 2026 13:47:33 +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();