From e62d4a6b8149ac5755d9aac55e85e2d79bebb2fe Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Fri, 8 Jan 2021 19:51:30 +0800 Subject: [PATCH] esp32s3: BROWNOUT reset reason is set directly without using the brownout ISR --- components/hal/esp32s3/brownout_hal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/hal/esp32s3/brownout_hal.c b/components/hal/esp32s3/brownout_hal.c index d85d47341e..99bd5e52bf 100644 --- a/components/hal/esp32s3/brownout_hal.c +++ b/components/hal/esp32s3/brownout_hal.c @@ -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; }