mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
ee2ee4dc7c
commit
51f6b0082a
2
queue.c
2
queue.c
|
@ -834,7 +834,7 @@ static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,
|
||||||
{
|
{
|
||||||
( pxMutex->u.xSemaphore.uxRecursiveCallCount )++;
|
( pxMutex->u.xSemaphore.uxRecursiveCallCount )++;
|
||||||
|
|
||||||
/* check if an overflow occurred */
|
/* Check if an overflow occurred. */
|
||||||
configASSERT( pxMutex->u.xSemaphore.uxRecursiveCallCount );
|
configASSERT( pxMutex->u.xSemaphore.uxRecursiveCallCount );
|
||||||
|
|
||||||
xReturn = pdPASS;
|
xReturn = pdPASS;
|
||||||
|
|
Loading…
Reference in a new issue