mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(brownout): correct names comments in the LL driver
This commit is contained in:
@@ -13,10 +13,10 @@ void brownout_hal_config(const brownout_hal_config_t *cfg)
|
||||
// If brownout software control is enabled, hw ana reset should be disabled, because it always has the highest priority.
|
||||
brownout_ll_ana_reset_enable(false);
|
||||
brownout_ll_set_intr_wait_cycles(2);
|
||||
brownout_ll_enable_flash_power_down(cfg->flash_power_down);
|
||||
brownout_ll_enable_flash_suspend(cfg->flash_power_down);
|
||||
brownout_ll_enable_rf_power_down(cfg->rf_power_down);
|
||||
brownout_ll_clear_count();
|
||||
brownout_ll_reset_config(cfg->reset_enabled, 0x3ff, 1);
|
||||
brownout_ll_reset_config(cfg->reset_enabled, 0x3ff, BROWNOUT_RESET_LEVEL_SYSTEM);
|
||||
brownout_ll_set_threshold(cfg->threshold);
|
||||
brownout_ll_bod_enable(cfg->enabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user