Skip to content
Snippets Groups Projects
Commit e87a3459 authored by Peter Kietzmann's avatar Peter Kietzmann
Browse files

Merge pull request #2820 from haukepetersen/fix_stm32f1_gpioint

cpu/stm32f1: fixed GPIO interrupt cb arg handling
parents 22689437 5893ca88
No related branches found
No related tags found
No related merge requests found
...@@ -483,6 +483,7 @@ int gpio_init_int(gpio_t dev, gpio_pp_t pullup, gpio_flank_t flank, gpio_cb_t cb ...@@ -483,6 +483,7 @@ int gpio_init_int(gpio_t dev, gpio_pp_t pullup, gpio_flank_t flank, gpio_cb_t cb
/* set callback */ /* set callback */
config[gpio_irq].cb = cb; config[gpio_irq].cb = cb;
config[gpio_irq].arg = arg;
/* configure the event that triggers an interrupt */ /* configure the event that triggers an interrupt */
switch (flank) { switch (flank) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment