mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
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
@ -31,7 +31,7 @@
|
||||
#define BROWNOUT_DET_LVL 0
|
||||
#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
|
||||
* handler returns. Since restart is called here, the flag needs to be
|
||||
|
Loading…
Reference in New Issue
Block a user