mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32s3: BROWNOUT reset reason is set directly without using the brownout ISR
This commit is contained in:
parent
f58c296336
commit
e62d4a6b81
@ -30,6 +30,7 @@ void brownout_hal_config(const brownout_hal_config_t *cfg)
|
||||
.rst_wait = 0x3ff,
|
||||
.rst_ena = cfg->reset_enabled,
|
||||
.ena = cfg->enabled,
|
||||
.rst_sel = 1,
|
||||
};
|
||||
RTCCNTL.brown_out = brown_out_reg;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user