mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-28 20:14:32 +00:00
esp32, esp32s2: move startup code into esp_system
This commit is contained in:
committed by
Angus Gratton
parent
62ef63e835
commit
bb5535ca5d
@@ -69,7 +69,7 @@ void esp_brownout_init(void)
|
||||
|
||||
brownout_hal_config(&cfg);
|
||||
|
||||
ESP_ERROR_CHECK( rtc_isr_register(rtc_brownout_isr_handler, NULL, RTC_CNTL_BROWN_OUT_INT_ENA_M) );
|
||||
rtc_isr_register(rtc_brownout_isr_handler, NULL, RTC_CNTL_BROWN_OUT_INT_ENA_M);
|
||||
|
||||
brownout_hal_intr_enable(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user