From e2aecfb9809c95d9f8439066519dd4d971bc13b9 Mon Sep 17 00:00:00 2001 From: fl0wl0w Date: Fri, 15 Dec 2023 17:45:36 -0600 Subject: [PATCH] fix: precommit errors --- components/esp_system/esp_ipc.c | 2 +- components/esp_system/include/esp_private/esp_ipc.h | 2 +- components/freertos/app_startup.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_system/esp_ipc.c b/components/esp_system/esp_ipc.c index c12bbcb4ad1c..f2f24bfdde41 100644 --- a/components/esp_system/esp_ipc.c +++ b/components/esp_system/esp_ipc.c @@ -50,7 +50,7 @@ static void * volatile s_gcov_func_arg; // Argument to pass static esp_ipc_wait_t s_gcov_func_wait_for; // Wait for function to finish #endif -void IRAM_ATTR ipc_handle(const int cpuid) +void IRAM_ATTR ipc_handle(const int cpuid) { #if CONFIG_APPTRACE_GCOV_ENABLE if (s_gcov_func) { diff --git a/components/esp_system/include/esp_private/esp_ipc.h b/components/esp_system/include/esp_private/esp_ipc.h index a622d73b1277..1160d31e7e95 100644 --- a/components/esp_system/include/esp_private/esp_ipc.h +++ b/components/esp_system/include/esp_private/esp_ipc.h @@ -14,7 +14,7 @@ extern "C" { * @brief Handles any pending IPC functions * * @param cpuid Core that should handle the IPC functions - * + * * @note This function is called from esp_crosscore_isr() or ipc_task() depending on availability of RTOS on specified core. */ void ipc_handle(const int cpuid); diff --git a/components/freertos/app_startup.c b/components/freertos/app_startup.c index c53fb80c3d9b..fb2338c1505c 100644 --- a/components/freertos/app_startup.c +++ b/components/freertos/app_startup.c @@ -134,7 +134,7 @@ void esp_startup_start_app_other_cores(void) ESP_EARLY_LOGD(APP_START_TAG, "Starting scheduler on CPU%d", xPortGetCoreID()); xPortStartScheduler(); abort(); // Only get to here if FreeRTOS somehow very broken -#else +#else //No scheduler on this core so IPC Task is never run so initialize the IPC_ISR if enabled here #ifdef CONFIG_ESP_IPC_ISR_ENABLE esp_ipc_isr_init();