kopia lustrzana https://github.com/espressif/esp-idf
Fix function signature in flash suspend example
Fixes misspelling of function signature in the flash suspend example. Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>pull/11204/head
rodzic
f404fe96b1
commit
7a19213198
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue