From 71f5af4e0f8d5fad2c4d83c43aa6748eb6cfaaf9 Mon Sep 17 00:00:00 2001 From: Paul Bartell Date: Mon, 19 Apr 2021 11:20:23 -0700 Subject: [PATCH] Fix regression in vQueueAddToRegistry. (#315) --- queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;