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 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.
*/
#define NUMOF_IRQS (GPIO_PIN_MAX)
#define NUMOF_IRQS (GPIO_PIN_MAX + 1)
/**
* @brief Hold one interrupt context per interrupt line