1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/efm32/periph_gpio: fix wrong GPIO_IntDisable() in gpio_init_int()

This commit is contained in:
Thomas Stilwell 2019-06-19 00:45:04 -07:00
parent 6db5aa09cb
commit c2d98f9648

View File

@ -115,7 +115,7 @@ int gpio_init_int(gpio_t pin, gpio_mode_t mode, gpio_flank_t flank,
}
/* just in case, disable the interrupt for this pin */
GPIO_IntDisable(_pin_num(pin));
GPIO_IntDisable(_pin_mask(pin));
/* store interrupt callback */
isr_ctx[_pin_num(pin)].cb = cb;