kopia lustrzana https://github.com/espressif/esp-idf
esp_system: fix compilation error when security features are enabled
affects CONFIG_SECURE_DISABLE_ROM_DL_MODE, CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODEpull/5688/head
rodzic
c627a1b6a0
commit
c943516c96
|
@ -229,6 +229,8 @@ static void IRAM_ATTR do_core_init(void)
|
|||
esp_flash_encryption_init_checks();
|
||||
#endif
|
||||
|
||||
esp_err_t err;
|
||||
|
||||
#if CONFIG_SECURE_DISABLE_ROM_DL_MODE
|
||||
err = esp_efuse_disable_rom_download_mode();
|
||||
assert(err == ESP_OK && "Failed to disable ROM download mode");
|
||||
|
@ -243,8 +245,6 @@ static void IRAM_ATTR do_core_init(void)
|
|||
esp_efuse_disable_basic_rom_console();
|
||||
#endif
|
||||
|
||||
esp_err_t err;
|
||||
|
||||
esp_timer_init();
|
||||
esp_set_time_from_rtc();
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue