1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

Merge pull request #4049 from thomaseichinger/pr/mega_gpio_oob

cpu/atmega2560: fix out of bounds array access
This commit is contained in:
Kaspar Schleiser 2015-10-13 13:00:07 +02:00
commit 8c08c9f731

View File

@ -32,7 +32,7 @@
#define GPIO_OFFSET_PORT_H (0xCB)
#define GPIO_OFFSET_PIN_PORT (0x02)
#define GPIO_OFFSET_PIN_PIN (0x03)
#define GPIO_EXT_INT_NUMOF (7U)
#define GPIO_EXT_INT_NUMOF (8U)
typedef struct {
gpio_cb_t cb;