mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
parent
88e32327e9
commit
c246922ea1
2
queue.c
2
queue.c
|
@ -1284,7 +1284,7 @@ Queue_t * const pxQueue = xQueue;
|
|||
configASSERT( ( pxQueue ) );
|
||||
|
||||
/* The buffer into which data is received can only be NULL if the data size
|
||||
is zero (so no data is copied into the buffer. */
|
||||
is zero (so no data is copied into the buffer). */
|
||||
configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) );
|
||||
|
||||
/* Cannot block if the scheduler is suspended. */
|
||||
|
|
Loading…
Reference in a new issue