]> granicus.if.org Git - esp-idf/commitdiff
brownout: fix rtc_brownout_isr_handler signature
authorMichael Zimmermann <sigmaepsilon92@gmail.com>
Fri, 11 Jan 2019 08:42:36 +0000 (09:42 +0100)
committerAnton Maklakov <anton@espressif.com>
Thu, 1 Aug 2019 09:28:56 +0000 (16:28 +0700)
Merges https://github.com/espressif/esp-idf/pull/2937

components/esp32/brownout.c

index 89f821c503e027b88d31abc39dd83fb090900cc6..c3db402717cf880b00924b16b74015fe1fa133a7 100644 (file)
@@ -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