cpu/efm32/periph_gpio: fix NUMOF_IRQS off-by-one error

This commit is contained in:
Thomas Stilwell 2019-06-18 16:43:18 -07:00
parent 6db5aa09cb
commit 5c8bf483e7

View File

@ -31,7 +31,7 @@
/** /**
* @brief Number of external interrupt lines. * @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 * @brief Hold one interrupt context per interrupt line