Merge branch 'bugfix/fixed-log-related-warning-in-freertos' into 'master'

fix(freertos): fixed log related warning

See merge request espressif/esp-idf!24725
pull/11821/head
Zim Kalinowski 2023-07-20 07:36:26 +08:00
commit 140f78b66d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -157,7 +157,7 @@ static bool other_cpu_startup_idle_hook_cb(void)
static void main_task(void* args)
{
ESP_LOGI(MAIN_TAG, "Started on CPU%d", xPortGetCoreID());
ESP_LOGI(MAIN_TAG, "Started on CPU%d", (int)xPortGetCoreID());
#if !CONFIG_FREERTOS_UNICORE
// Wait for FreeRTOS initialization to finish on other core, before replacing its startup stack
esp_register_freertos_idle_hook_for_cpu(other_cpu_startup_idle_hook_cb, !xPortGetCoreID());