Skip to content

Commit

Permalink
fix: precommit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FL0WL0W committed Dec 15, 2023
1 parent b3954c2 commit e2aecfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/esp_system/esp_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion components/esp_system/include/esp_private/esp_ipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion components/freertos/app_startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e2aecfb

Please sign in to comment.