From 7a192131986745a83f468821a70cc4bc6b41802b Mon Sep 17 00:00:00 2001 From: Daniel Mangum Date: Sat, 15 Apr 2023 21:27:10 -0400 Subject: [PATCH] Fix function signature in flash suspend example Fixes misspelling of function signature in the flash suspend example. Signed-off-by: Daniel Mangum --- examples/system/flash_suspend/main/app_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/system/flash_suspend/main/app_main.c b/examples/system/flash_suspend/main/app_main.c index faae5610d4..5ea7418f67 100644 --- a/examples/system/flash_suspend/main/app_main.c +++ b/examples/system/flash_suspend/main/app_main.c @@ -51,7 +51,7 @@ static NOINLINE_ATTR void s_function_in_flash(void) s_flash_func_t2 = esp_cpu_get_cycle_count(); } -static IRAM_ATTR NOINLINE_ATTR void s_funtion_in_iram(void) +static IRAM_ATTR NOINLINE_ATTR void s_function_in_iram(void) { /** * - Here we will have few instructions in .iram0.text @@ -72,7 +72,7 @@ static bool IRAM_ATTR on_gptimer_alarm_cb(gptimer_handle_t timer, const gptimer_ if (is_flash) { s_function_in_flash(); } else { - s_funtion_in_iram(); + s_function_in_iram(); } return false;