Skip to content

Commit

Permalink
Fix regression in vQueueAddToRegistry. (FreeRTOS#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbartell authored Apr 19, 2021
1 parent d877074 commit 71f5af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71f5af4

Please sign in to comment.