Use a more sensible number of semaphores

This commit is contained in:
2026-06-14 16:10:18 +02:00
parent f0d2990b8d
commit ac16f8150e
+2 -2
View File
@@ -162,8 +162,8 @@ int main(void)
/* USER CODE END RTOS_MUTEX */
/* USER CODE BEGIN RTOS_SEMAPHORES */
xLEDSemaphoreCAN1 = osSemaphoreNew(255, 0, NULL);
xLEDSemaphoreCAN2 = osSemaphoreNew(255, 0, NULL);
xLEDSemaphoreCAN1 = osSemaphoreNew(10, 0, NULL);
xLEDSemaphoreCAN2 = osSemaphoreNew(10, 0, NULL);
if (xLEDSemaphoreCAN1 == NULL || xLEDSemaphoreCAN2 == NULL) Error_Handler();
/* USER CODE END RTOS_SEMAPHORES */