Skip to content

Commit

Permalink
Comment: fix code comment for xTaskAbortDelay (FreeRTOS#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfred2g authored Mar 5, 2021
1 parent 98eba93 commit 4b5d1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -2694,8 +2694,8 @@ BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp )
#if ( configUSE_PREEMPTION == 1 )
{
/* Preemption is on, but a context switch should only be
* performed if the unblocked task has a priority that is
* equal to or higher than the currently executing task. */
* performed if the unblocked task has a priority that is
* higher than the currently executing task. */
if( pxTCB->uxPriority > pxCurrentTCB->uxPriority )
{
/* Pend the yield to be performed when the scheduler
Expand Down

0 comments on commit 4b5d1e4

Please sign in to comment.