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

drivers: cc110x: don't pass isr_arg on rx complete event

parent 60122cca
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,7 @@ static void _netdev2_cc110x_rx_callback(void *arg) ...@@ -178,7 +178,7 @@ static void _netdev2_cc110x_rx_callback(void *arg)
netdev2_t *netdev2 = (netdev2_t*) arg; netdev2_t *netdev2 = (netdev2_t*) arg;
cc110x_t *cc110x = &((netdev2_cc110x_t*) arg)->cc110x; cc110x_t *cc110x = &((netdev2_cc110x_t*) arg)->cc110x;
gpio_irq_disable(cc110x->params.gdo2); gpio_irq_disable(cc110x->params.gdo2);
netdev2->event_callback(netdev2, NETDEV2_EVENT_RX_COMPLETE, netdev2->isr_arg); netdev2->event_callback(netdev2, NETDEV2_EVENT_RX_COMPLETE, NULL);
} }
static void _isr(netdev2_t *dev) static void _isr(netdev2_t *dev)
......
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