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:
parent
6db5aa09cb
commit
5c8bf483e7
@ -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…
Reference in New Issue
Block a user