Przeglądaj źródła

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
Angus Gratton 5 lat temu
rodzic
commit
bb74334830
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      components/freertos/tasks.c

+ 1 - 1
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 )