diff --git a/src/rp2_common/hardware_gpio/gpio.c b/src/rp2_common/hardware_gpio/gpio.c index b26d0cc95..44c39e9c4 100644 --- a/src/rp2_common/hardware_gpio/gpio.c +++ b/src/rp2_common/hardware_gpio/gpio.c @@ -188,7 +188,7 @@ void gpio_set_irq_enabled(uint gpio, uint32_t events, bool enabled) { // or callback should already be set (raw or using gpio_set_irq_callback) // this protects against enabling the interrupt without callback set assert(!enabled - || (raw_irq_mask[get_core_num()] & (1u<