Skip to content

Commit c3dc20f

Browse files
chinglee-iotaggarg
andauthored
Update xSemaphoreGetStaticBuffer prototype in comment (#704)
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
1 parent 54b1356 commit c3dc20f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/semphr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,8 @@ typedef QueueHandle_t SemaphoreHandle_t;
11931193
/**
11941194
* semphr.h
11951195
* @code{c}
1196-
* BaseType_t xSemaphoreGetStaticBuffer( SemaphoreHandle_t xSemaphore );
1196+
* BaseType_t xSemaphoreGetStaticBuffer( SemaphoreHandle_t xSemaphore,
1197+
* StaticSemaphore_t ** ppxSemaphoreBuffer );
11971198
* @endcode
11981199
*
11991200
* Retrieve pointer to a statically created binary semaphore, counting semaphore,

0 commit comments

Comments
 (0)