mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/stm32f0: GPIO enable IRQ for EXTI0_1
Removed unnecessary EXTI2_3 interrupt enable cpu/stm32f0: gpio removed trailing whitespace
This commit is contained in:
parent
025c8696fe
commit
35154e0c84
@ -102,7 +102,7 @@ int gpio_init_int(gpio_t pin, gpio_pp_t pullup, gpio_flank_t flank, gpio_cb_t cb
|
||||
|
||||
/* enable global pin interrupt */
|
||||
if (pin_num < 2) {
|
||||
NVIC_EnableIRQ(EXTI2_3_IRQn + pin_num);
|
||||
NVIC_EnableIRQ(EXTI0_1_IRQn);
|
||||
}
|
||||
else if (pin_num < 4) {
|
||||
NVIC_EnableIRQ(EXTI2_3_IRQn);
|
||||
|
Loading…
Reference in New Issue
Block a user