Merge pull request #4745 from haukepetersen/fix_sam3_gpiostructinit

cpu/sam3: simplified struct init in GPIO driver
pr/gpio
Peter Kietzmann 7 years ago
commit e38eb13a4d

@ -45,10 +45,7 @@
/**
* @brief Allocation of memory for 7 independent interrupt slots
*/
static gpio_isr_ctx_t exti_ctx[CTX_NUMOF] = {
{NULL, NULL}, {NULL, NULL}, {NULL, NULL}, {NULL, NULL},
{NULL, NULL}, {NULL, NULL}, {NULL, NULL}
};
static gpio_isr_ctx_t exti_ctx[CTX_NUMOF] = {{0}};
/**
* @brief Allocation of 4 bit per pin to map a pin to an interrupt context

Loading…
Cancel
Save