fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU

Fixes mixing logs when two cores use esp_rom_printf
This commit is contained in:
KonstantinKondrashov
2023-10-02 12:50:40 +00:00
committed by BOT
parent aa3b9df318
commit 28b8a5d9b4
3 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -96,7 +96,7 @@ void esp_startup_start_app(void)
port_start_app_hook();
}
ESP_EARLY_LOGI(APP_START_TAG, "Starting scheduler on CPU0");
ESP_EARLY_LOGD(APP_START_TAG, "Starting scheduler on CPU0");
vTaskStartScheduler();
}
@@ -130,7 +130,7 @@ void esp_startup_start_app_other_cores(void)
// Initialize the cross-core interrupt on CPU1
esp_crosscore_int_init();
ESP_EARLY_LOGI(APP_START_TAG, "Starting scheduler on CPU%d", xPortGetCoreID());
ESP_EARLY_LOGD(APP_START_TAG, "Starting scheduler on CPU%d", xPortGetCoreID());
xPortStartScheduler();
abort(); // Only get to here if FreeRTOS somehow very broken
}