diff --git a/src/machine/machine_rp2040_gpio.go b/src/machine/machine_rp2040_gpio.go index 94715d963f..86cb09eb9c 100644 --- a/src/machine/machine_rp2040_gpio.go +++ b/src/machine/machine_rp2040_gpio.go @@ -241,6 +241,8 @@ const ( PinFalling PinChange = 4 << iota // Edge rising PinRising + + PinToggle = PinFalling | PinRising ) // Callbacks to be called for pins configured with SetInterrupt.