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 4887bb4 commit 3541463Copy full SHA for 3541463
tasks.c
@@ -983,7 +983,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
983
#if ( configUSE_CORE_AFFINITY == 1 )
984
pxPreviousTCB = pxCurrentTCBs[ xCoreID ];
985
#endif
986
- pxTCB->xTaskRunState = ( BaseType_t ) xCoreID;
+ pxTCB->xTaskRunState = xCoreID;
987
pxCurrentTCBs[ xCoreID ] = pxTCB;
988
xTaskScheduled = pdTRUE;
989
}
@@ -997,7 +997,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
997
998
{
999
/* The task is already running on this core, mark it as scheduled. */
1000
1001
1002
1003
0 commit comments