freertos: Fix regression when xCoreID included in task status TCB

Regression when adding FreeRTOS 10 support.

As reported at https://github.com/espressif/esp-idf/issues/1453#issuecomment-709663537
This commit is contained in:
Angus Gratton 2020-10-16 13:55:42 +11:00
parent 48f27cb5ab
commit bb74334830

View File

@ -4134,7 +4134,7 @@ static void prvCheckTasksWaitingTermination( void )
pxTaskStatus->xTaskNumber = pxTCB->uxTCBNumber;
#if ( configTASKLIST_INCLUDE_COREID == 1 )
pxTaskStatus.xCoreID = pxTCB->xCoreID;
pxTaskStatus->xCoreID = pxTCB->xCoreID;
#endif /* configTASKLIST_INCLUDE_COREID */
#if ( configUSE_MUTEXES == 1 )