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:
Leandro Lanzieri 2019-06-28 11:25:04 +02:00 committed by GitHub
commit 56ffb45f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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