mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Code review suggestion
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
d4ad35175c
commit
b98a2d238b
3
queue.c
3
queue.c
|
@ -849,6 +849,9 @@ static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,
|
||||||
if( xReturn != pdFAIL )
|
if( xReturn != pdFAIL )
|
||||||
{
|
{
|
||||||
( pxMutex->u.xSemaphore.uxRecursiveCallCount )++;
|
( pxMutex->u.xSemaphore.uxRecursiveCallCount )++;
|
||||||
|
|
||||||
|
/* Check if an overflow occurred. */
|
||||||
|
configASSERT( pxMutex->u.xSemaphore.uxRecursiveCallCount );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue