From 81982f071a13c6bfceb0d2f5b8061a96342d07fe Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Wed, 8 Jun 2022 13:11:46 -0500 Subject: [PATCH] Missed doc change in #850 --- src/rp2_common/hardware_gpio/include/hardware/gpio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rp2_common/hardware_gpio/include/hardware/gpio.h b/src/rp2_common/hardware_gpio/include/hardware/gpio.h index 09a9b96a6..7138de564 100644 --- a/src/rp2_common/hardware_gpio/include/hardware/gpio.h +++ b/src/rp2_common/hardware_gpio/include/hardware/gpio.h @@ -615,6 +615,8 @@ static inline void gpio_add_raw_irq_handler(uint gpio, irq_handler_t handler) { * * This method removes such a callback, and enables the "default" callback for the specified GPIOs. * + * \note You should always use the same gpio_mask as you used when you added the raw IRQ handler. + * * @param gpio_mask a bit mask of the GPIO numbers that will now be passed to the default callback for this core * @param handler the handler to remove from the list of GPIO IRQ handlers for this core */