Skip to content
Snippets Groups Projects
Commit b43a1070 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

drivers: encx24j600: correctly pass on isr_arg

parent 6becb42c
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ static void encx24j600_isr(void *arg) ...@@ -101,7 +101,7 @@ static void encx24j600_isr(void *arg)
gpio_irq_disable(dev->int_pin); gpio_irq_disable(dev->int_pin);
/* call netdev2 hook */ /* call netdev2 hook */
dev->netdev.event_callback((netdev2_t*) dev, NETDEV2_EVENT_ISR, NULL); dev->netdev.event_callback((netdev2_t*) dev, NETDEV2_EVENT_ISR, dev->isr_arg);
} }
static void _isr(netdev2_t *netdev) static void _isr(netdev2_t *netdev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment