mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
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:
committed by
BOT
parent
aa3b9df318
commit
28b8a5d9b4
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user