mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Merge dc7bd942d7
into 03db672b8f
This commit is contained in:
commit
a4463ebd07
3
tasks.c
3
tasks.c
|
@ -3676,6 +3676,9 @@ static BaseType_t prvCreateIdleTasks( void )
|
|||
/* Assign idle task to each core before SMP scheduler is running. */
|
||||
xIdleTaskHandles[ xCoreID ]->xTaskRunState = xCoreID;
|
||||
pxCurrentTCBs[ xCoreID ] = xIdleTaskHandles[ xCoreID ];
|
||||
#if ( configUSE_CORE_AFFINITY == 1 )
|
||||
vTaskCoreAffinitySet(xIdleTaskHandles[ xCoreID ], 1 << xCoreID);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue