mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component
This commit is contained in:
committed by
Chen Ji Chang
parent
fea2c08655
commit
04df934c05
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user