From 72757bf68b83f3cec7c1ca3bf111d93713a46ad0 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 20 Jul 2023 06:22:17 +0800 Subject: [PATCH] fix(freertos): fixed log related warning --- components/freertos/app_startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/app_startup.c b/components/freertos/app_startup.c index 99ea6ae570..996848d87d 100644 --- a/components/freertos/app_startup.c +++ b/components/freertos/app_startup.c @@ -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());