From 1059b35838f2cf47599960b104ab416c535b3eb4 Mon Sep 17 00:00:00 2001 From: alfred gedeon <28123637+alfred2g@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:36:17 -0700 Subject: [PATCH] Comment: xTaskResumeAll: comment: doesn't match the code (#281) --- tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks.c b/tasks.c index fd3c25744..988e32bdb 100644 --- a/tasks.c +++ b/tasks.c @@ -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;