Merge branch 'bugfix/freertos_smp_type_warning' into 'master'

freertos: Fix SMP build warning in xTaskCreateStaticPinnedToCore

See merge request espressif/esp-idf!17548
pull/8686/head
morris 2022-03-23 16:19:03 +08:00
commit b40f05ddda
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -6513,7 +6513,7 @@ TaskHandle_t xTaskCreateStaticPinnedToCore( TaskFunction_t pxTaskCode,
StaticTask_t * const pxTaskBuffer, StaticTask_t * const pxTaskBuffer,
const BaseType_t xCoreID) const BaseType_t xCoreID)
{ {
BaseType_t ret; TaskHandle_t ret;
#if ( ( configUSE_CORE_AFFINITY == 1 ) && ( configNUM_CORES > 1 ) ) #if ( ( configUSE_CORE_AFFINITY == 1 ) && ( configNUM_CORES > 1 ) )
{ {
// Convert xCoreID into an affinity mask // Convert xCoreID into an affinity mask