Update esp32-hal-gpio.c
fix copy/paste error
This commit is contained in:
parent
1085e9a8f0
commit
879388e170
@ -287,7 +287,7 @@ extern void __detachInterrupt(uint8_t pin)
|
|||||||
}
|
}
|
||||||
__pinInterruptHandlers[pin].fn = NULL;
|
__pinInterruptHandlers[pin].fn = NULL;
|
||||||
__pinInterruptHandlers[pin].arg = NULL;
|
__pinInterruptHandlers[pin].arg = NULL;
|
||||||
__pinInterruptHandlers[pin].arg = false;
|
__pinInterruptHandlers[pin].functional = false;
|
||||||
|
|
||||||
GPIO.pin[pin].int_ena = 0;
|
GPIO.pin[pin].int_ena = 0;
|
||||||
GPIO.pin[pin].int_type = 0;
|
GPIO.pin[pin].int_type = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user