brownout: fix rtc_brownout_isr_handler signature
Merges https://github.com/espressif/esp-idf/pull/2937
This commit is contained in:
parent
e8191912c8
commit
d4c098f5a9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
#define BROWNOUT_DET_LVL 0
|
#define BROWNOUT_DET_LVL 0
|
||||||
#endif //CONFIG_ESP32_BROWNOUT_DET_LVL
|
#endif //CONFIG_ESP32_BROWNOUT_DET_LVL
|
||||||
|
|
||||||
static void rtc_brownout_isr_handler(void)
|
static void rtc_brownout_isr_handler(void *arg)
|
||||||
{
|
{
|
||||||
/* Normally RTC ISR clears the interrupt flag after the application-supplied
|
/* Normally RTC ISR clears the interrupt flag after the application-supplied
|
||||||
* handler returns. Since restart is called here, the flag needs to be
|
* handler returns. Since restart is called here, the flag needs to be
|
||||||
|
|
Loading…
Reference in a new issue