|
|
@ -384,6 +384,10 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
|
|
|
|
|
|
|
|
|
|
|
|
prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue );
|
|
|
|
prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
traceQUEUE_CREATE_FAILED( ucQueueType );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return pxNewQueue;
|
|
|
|
return pxNewQueue;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -432,6 +436,10 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
|
|
|
|
|
|
|
|
|
|
|
|
prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue );
|
|
|
|
prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
traceQUEUE_CREATE_FAILED( ucQueueType );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return pxNewQueue;
|
|
|
|
return pxNewQueue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|