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