Merge pull request #11719 from benemorius/efm32-numof_irqs-off-by-one
cpu/efm32/periph_gpio: fix NUMOF_IRQS off-by-one error
This commit is contained in:
commit
56ffb45f6c
@ -31,7 +31,7 @@
|
||||
/**
|
||||
* @brief Number of external interrupt lines.
|
||||
*/
|
||||
#define NUMOF_IRQS (GPIO_PIN_MAX)
|
||||
#define NUMOF_IRQS (GPIO_PIN_MAX + 1)
|
||||
|
||||
/**
|
||||
* @brief Hold one interrupt context per interrupt line
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user