Merge branch 'main' into patch-1

This commit is contained in:
Carl Lundin 2021-03-19 12:11:55 -07:00 committed by GitHub
commit 522ac1e628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2238,8 +2238,8 @@ BaseType_t xTaskResumeAll( void )
( void ) uxListRemove( &( pxTCB->xStateListItem ) );
prvAddTaskToReadyList( pxTCB );
/* If the moved task has a priority higher than the current
* task then a yield must be performed. */
/* If the moved task has a priority higher than or equal to
* the current task then a yield must be performed. */
if( pxTCB->uxPriority >= pxCurrentTCB->uxPriority )
{
xYieldPending = pdTRUE;