Update esp32-hal-gpio.c

fix copy/paste error
This commit is contained in:
me-no-dev 2018-12-28 19:14:15 +02:00
parent 1085e9a8f0
commit 879388e170

View File

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