mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#define BROWNOUT_DET_LVL 0
|
||||
#endif //CONFIG_ESP32_BROWNOUT_DET_LVL
|
||||
|
||||
static void rtc_brownout_isr_handler()
|
||||
static void rtc_brownout_isr_handler(void)
|
||||
{
|
||||
/* Normally RTC ISR clears the interrupt flag after the application-supplied
|
||||
* handler returns. Since restart is called here, the flag needs to be
|
||||
@@ -47,7 +47,7 @@ static void rtc_brownout_isr_handler()
|
||||
esp_restart_noos();
|
||||
}
|
||||
|
||||
void esp_brownout_init()
|
||||
void esp_brownout_init(void)
|
||||
{
|
||||
REG_WRITE(RTC_CNTL_BROWN_OUT_REG,
|
||||
RTC_CNTL_BROWN_OUT_ENA /* Enable BOD */
|
||||
|
Reference in New Issue
Block a user