From 879388e170452f056a2a63bceb83f23f63ce9a06 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Fri, 28 Dec 2018 19:14:15 +0200 Subject: [PATCH] Update esp32-hal-gpio.c fix copy/paste error --- cores/esp32/esp32-hal-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-gpio.c b/cores/esp32/esp32-hal-gpio.c index 64cb6653..d22af774 100644 --- a/cores/esp32/esp32-hal-gpio.c +++ b/cores/esp32/esp32-hal-gpio.c @@ -287,7 +287,7 @@ extern void __detachInterrupt(uint8_t pin) } __pinInterruptHandlers[pin].fn = NULL; __pinInterruptHandlers[pin].arg = NULL; - __pinInterruptHandlers[pin].arg = false; + __pinInterruptHandlers[pin].functional = false; GPIO.pin[pin].int_ena = 0; GPIO.pin[pin].int_type = 0;