mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Updated from upstream
This commit is contained in:
parent
e71e702110
commit
d58750f5f9
8
tasks.c
8
tasks.c
|
@ -1615,14 +1615,6 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB )
|
||||||
if( pxCurrentTCBs[ xCoreID ] == NULL )
|
if( pxCurrentTCBs[ xCoreID ] == NULL )
|
||||||
{
|
{
|
||||||
pxNewTCB->xTaskRunState = xCoreID;
|
pxNewTCB->xTaskRunState = xCoreID;
|
||||||
|
|
||||||
/* This section of code pins the idle tasks to cores.
|
|
||||||
#if ( configUSE_CORE_AFFINITY == 1 )
|
|
||||||
* {
|
|
||||||
* pxNewTCB->uxCoreAffinityMask = ( 1 << xCoreID );
|
|
||||||
* }
|
|
||||||
#endif
|
|
||||||
*/
|
|
||||||
pxCurrentTCBs[ xCoreID ] = pxNewTCB;
|
pxCurrentTCBs[ xCoreID ] = pxNewTCB;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue