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. */
pxEntryToWrite->pcQueueName = pcQueueName;