We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41b6a6 commit dded3f4Copy full SHA for dded3f4
tasks.c
@@ -1016,7 +1016,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
1016
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe();
1017
1018
/* Verify that the calling core always yields to higher priority tasks. */
1019
- if( ( ( prvGetCurrentTaskTCBUnsafe->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) &&
+ if( ( ( pxConstCurrentTCB->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) &&
1020
( pxTCB->uxPriority > pxConstCurrentTCB->uxPriority ) )
1021
{
1022
configASSERT( ( xYieldPendings[ portGET_CORE_ID() ] == pdTRUE ) ||
0 commit comments