Fix regression in vQueueAddToRegistry. (#315)

This commit is contained in:
Paul Bartell 2021-04-19 11:20:23 -07:00 committed by GitHub
parent d8770748ff
commit 71f5af4e0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2755,7 +2755,7 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
} }
} }
if( pxEntryToWrite == NULL ) if( pxEntryToWrite != NULL )
{ {
/* Store the information on this queue. */ /* Store the information on this queue. */
pxEntryToWrite->pcQueueName = pcQueueName; pxEntryToWrite->pcQueueName = pcQueueName;