mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Update typo
This commit is contained in:
parent
f41b6a626b
commit
dded3f483e
2
tasks.c
2
tasks.c
|
@ -1016,7 +1016,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
|
|||
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe();
|
||||
|
||||
/* Verify that the calling core always yields to higher priority tasks. */
|
||||
if( ( ( prvGetCurrentTaskTCBUnsafe->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) &&
|
||||
if( ( ( pxConstCurrentTCB->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) &&
|
||||
( pxTCB->uxPriority > pxConstCurrentTCB->uxPriority ) )
|
||||
{
|
||||
configASSERT( ( xYieldPendings[ portGET_CORE_ID() ] == pdTRUE ) ||
|
||||
|
|
Loading…
Reference in a new issue