brownout: fix rtc_brownout_isr_handler signature

Merges https://github.com/espressif/esp-idf/pull/2937
This commit is contained in:
Michael Zimmermann 2019-01-11 09:42:36 +01:00 committed by Anton Maklakov
parent e8191912c8
commit d4c098f5a9

View file

@ -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