From bb74334830fe131bc4cc68b2ed3530ff71321cc7 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 16 Oct 2020 13:55:42 +1100 Subject: [PATCH] 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 --- components/freertos/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/tasks.c b/components/freertos/tasks.c index f11903db0d..314f1477f9 100644 --- a/components/freertos/tasks.c +++ b/components/freertos/tasks.c @@ -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 )