Skip to content

Commit dded3f4

Browse files
committed
Update typo
1 parent f41b6a6 commit dded3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
10161016
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe();
10171017

10181018
/* Verify that the calling core always yields to higher priority tasks. */
1019-
if( ( ( prvGetCurrentTaskTCBUnsafe->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) &&
1019+
if( ( ( pxConstCurrentTCB->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) &&
10201020
( pxTCB->uxPriority > pxConstCurrentTCB->uxPriority ) )
10211021
{
10221022
configASSERT( ( xYieldPendings[ portGET_CORE_ID() ] == pdTRUE ) ||

0 commit comments

Comments
 (0)