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 8e898b7 commit 45241c9Copy full SHA for 45241c9
tasks.c
@@ -1945,9 +1945,9 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
1945
* hence xYieldPending is used to latch that a context switch is
1946
* required. */
1947
#if ( configNUMBER_OF_CORES == 1 )
1948
- portPRE_TASK_DELETE_HOOK( pxTCB, &xYieldPendings[ 0 ] );
+ portPRE_TASK_DELETE_HOOK( pxTCB, &( xYieldPendings[ 0 ] ) );
1949
#else
1950
- portPRE_TASK_DELETE_HOOK( pxTCB, &xYieldPendings[ pxTCB->xTaskRunState ] );
+ portPRE_TASK_DELETE_HOOK( pxTCB, &( xYieldPendings[ pxTCB->xTaskRunState ] ) );
1951
#endif
1952
}
1953
else
0 commit comments