From 5969ed45c77cd021948d3ad7bede564ad6242708 Mon Sep 17 00:00:00 2001 From: bjbsmith Date: Tue, 16 Jan 2024 19:31:14 -0800 Subject: [PATCH] Reverted parameter name for Static version of function by mistake --- portable/Common/mpu_wrappers_v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portable/Common/mpu_wrappers_v2.c b/portable/Common/mpu_wrappers_v2.c index 7f517737e..8a2ba0e3e 100644 --- a/portable/Common/mpu_wrappers_v2.c +++ b/portable/Common/mpu_wrappers_v2.c @@ -2826,7 +2826,7 @@ #if ( ( configUSE_COUNTING_SEMAPHORES == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) - QueueHandle_t MPU_xQueueCreateCountingSemaphore( UBaseType_t uxMaxCount, + QueueHandle_t MPU_xQueueCreateCountingSemaphore( UBaseType_t uxCountValue, UBaseType_t uxInitialCount ) /* PRIVILEGED_FUNCTION */ { QueueHandle_t xInternalQueueHandle = NULL; @@ -2858,7 +2858,7 @@ #if ( ( configUSE_COUNTING_SEMAPHORES == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 1 ) ) - QueueHandle_t MPU_xQueueCreateCountingSemaphoreStatic( const UBaseType_t uxCountValue, + QueueHandle_t MPU_xQueueCreateCountingSemaphoreStatic( const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount, StaticQueue_t * pxStaticQueue ) /* PRIVILEGED_FUNCTION */ {