mspi: turn down freq to fix crash when sleep

This commit is contained in:
wanlei
2023-02-23 12:54:37 +08:00
parent 266a58f85b
commit d0c70aa7ac
2 changed files with 12 additions and 1 deletions

View File

@@ -746,7 +746,7 @@ esp_err_t IRAM_ATTR bootloader_flash_reset_chip(void)
return ESP_OK;
}
bool bootloader_flash_is_octal_mode_enabled(void)
bool IRAM_ATTR bootloader_flash_is_octal_mode_enabled(void)
{
#if SOC_SPI_MEM_SUPPORT_OPI_MODE
return efuse_ll_get_flash_type();