Syncronize semaphore counters to queue dimension
This commit is contained in:
+2
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user