Comment: fix code comment for xTaskAbortDelay (#272)

This commit is contained in:
alfred gedeon 2021-03-05 09:13:03 -08:00 committed by GitHub
parent 98eba938e2
commit 4b5d1e4395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2694,8 +2694,8 @@ BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp )
#if ( configUSE_PREEMPTION == 1 ) #if ( configUSE_PREEMPTION == 1 )
{ {
/* Preemption is on, but a context switch should only be /* Preemption is on, but a context switch should only be
* performed if the unblocked task has a priority that is * performed if the unblocked task has a priority that is
* equal to or higher than the currently executing task. */ * higher than the currently executing task. */
if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) if( pxTCB->uxPriority > pxCurrentTCB->uxPriority )
{ {
/* Pend the yield to be performed when the scheduler /* Pend the yield to be performed when the scheduler