From c3dc20fdb4f15115fcaf8ad3f71fdf5696a30415 Mon Sep 17 00:00:00 2001 From: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> Date: Mon, 17 Jul 2023 18:42:05 +0800 Subject: [PATCH] Update xSemaphoreGetStaticBuffer prototype in comment (#704) Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> --- include/semphr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/semphr.h b/include/semphr.h index 740be5a5d..e93b708c5 100644 --- a/include/semphr.h +++ b/include/semphr.h @@ -1193,7 +1193,8 @@ typedef QueueHandle_t SemaphoreHandle_t; /** * semphr.h * @code{c} - * BaseType_t xSemaphoreGetStaticBuffer( SemaphoreHandle_t xSemaphore ); + * BaseType_t xSemaphoreGetStaticBuffer( SemaphoreHandle_t xSemaphore, + * StaticSemaphore_t ** ppxSemaphoreBuffer ); * @endcode * * Retrieve pointer to a statically created binary semaphore, counting semaphore,