diff --git a/components/freertos/FreeRTOS-Kernel-SMP/tasks.c b/components/freertos/FreeRTOS-Kernel-SMP/tasks.c index b76a6e1678..6aa7a506fe 100644 --- a/components/freertos/FreeRTOS-Kernel-SMP/tasks.c +++ b/components/freertos/FreeRTOS-Kernel-SMP/tasks.c @@ -709,17 +709,13 @@ static void prvYieldCore( BaseType_t xCoreID ) { xYieldPendings[ xCoreID ] = pdTRUE; } - -#ifdef ESP_PLATFORM -// TODO: IDF-5256 #if ( configNUM_CORES > 1 ) else { portYIELD_CORE( xCoreID ); pxCurrentTCBs[ xCoreID ]->xTaskRunState = taskTASK_YIELDING; } - #endif /* ( configNUM_CORES > 1 ) */ -#endif /* ESP_PLATFORM */ + #endif } }