refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component

This commit is contained in:
Chen Jichang
2026-03-06 18:14:22 +08:00
committed by Chen Ji Chang
parent fea2c08655
commit 04df934c05
53 changed files with 139 additions and 131 deletions
@@ -151,7 +151,7 @@ void app_main(void)
bootloader_random_enable();
esp_flash_encryption_enabled_IgnoreAndReturn(true);
bool flash_encrypted = esp_flash_encryption_enabled();
bool flash_encrypted = esp_efuse_is_flash_encryption_enabled();
(void)flash_encrypted;
esp_partition_main_flash_region_safe_IgnoreAndReturn(true);