This commit is contained in:
Kannajosyula Harsha Vardhan 2026-08-26 12:27:41 -07:00 • committed by GitHub
commit 0173ef0639
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2973,7 +2973,7 @@ STATIC void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
* being used for anything else. */ * being used for anything else. */
if( ( listGET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) == ( ( TickType_t ) 0U ) ) if( ( listGET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) == ( ( TickType_t ) 0U ) )
{ {
listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) uxNewPriority ) ); listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxTCB->uxPriority ) );
} }
else else
{ {