1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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

This commit is contained in:
Kaspar Schleiser 2016-02-21 22:01:03 +01:00
parent 60122cca82
commit 5b4b40cc1e

View File

@ -178,7 +178,7 @@ static void _netdev2_cc110x_rx_callback(void *arg)
netdev2_t *netdev2 = (netdev2_t*) arg;
cc110x_t *cc110x = &((netdev2_cc110x_t*) arg)->cc110x;
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)