Skip to content

Commit 879388e

Browse files
committed
Update esp32-hal-gpio.c
fix copy/paste error
1 parent 1085e9a commit 879388e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/esp32-hal-gpio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ extern void __detachInterrupt(uint8_t pin)
287287
}
288288
__pinInterruptHandlers[pin].fn = NULL;
289289
__pinInterruptHandlers[pin].arg = NULL;
290-
__pinInterruptHandlers[pin].arg = false;
290+
__pinInterruptHandlers[pin].functional = false;
291291

292292
GPIO.pin[pin].int_ena = 0;
293293
GPIO.pin[pin].int_type = 0;

0 commit comments

Comments
 (0)