fix: update flash encryption mock build check

Use a non-deprecated bootloader support API in the mock build test.
Keep the test focused on validating the generated bootloader support mock.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Chen Chen
2026-07-14 15:35:04 +08:00
parent 9980a9f53a
commit 0fbbcd7271

View File

@@ -150,7 +150,7 @@ void app_main(void)
bootloader_random_enable_Ignore();
bootloader_random_enable();
esp_flash_encryption_enabled_IgnoreAndReturn(true);
esp_efuse_is_flash_encryption_enabled_IgnoreAndReturn(true);
bool flash_encrypted = esp_efuse_is_flash_encryption_enabled();
(void)flash_encrypted;