diff --git a/queue.c b/queue.c index a60c6ca6b..96065d047 100644 --- a/queue.c +++ b/queue.c @@ -2755,7 +2755,7 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue ) } } - if( pxEntryToWrite == NULL ) + if( pxEntryToWrite != NULL ) { /* Store the information on this queue. */ pxEntryToWrite->pcQueueName = pcQueueName;