mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
cpu/sam3: simplified struct init in GPIO driver
This commit is contained in:
parent
1d8d33d484
commit
e8e673d6ce
@ -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…
x
Reference in New Issue
Block a user