From: Michael Zimmermann Date: Fri, 11 Jan 2019 08:42:36 +0000 (+0100) Subject: brownout: fix rtc_brownout_isr_handler signature X-Git-Tag: v4.1-dev~31^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4c098f5a93998e8fd0f46286f714c11a07929ee;p=esp-idf brownout: fix rtc_brownout_isr_handler signature Merges https://github.com/espressif/esp-idf/pull/2937 --- diff --git a/components/esp32/brownout.c b/components/esp32/brownout.c index 89f821c503..c3db402717 100644 --- a/components/esp32/brownout.c +++ b/components/esp32/brownout.c @@ -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