From 5ca617d9c705a167f44a72daa5c22a71c5d5f1c4 Mon Sep 17 00:00:00 2001 From: Ching-Hsin Lee Date: Thu, 13 Jul 2023 16:15:05 +0800 Subject: [PATCH] Update xSemaphoreGetStaticBuffer prototype in comment --- include/semphr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/semphr.h b/include/semphr.h index 740be5a5d12..e93b708c51c 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,