mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
drivers: enc28j60: correctly pass on isr_arg
This commit is contained in:
parent
d454e83009
commit
2e61f4d365
@ -215,7 +215,7 @@ static void mac_set(enc28j60_t *dev, uint8_t *mac)
|
||||
static void on_int(void *arg)
|
||||
{
|
||||
netdev2_t *netdev = (netdev2_t *)arg;
|
||||
netdev->event_callback(arg, NETDEV2_EVENT_ISR, NULL);
|
||||
netdev->event_callback(arg, NETDEV2_EVENT_ISR, netdev->isr_arg);
|
||||
}
|
||||
|
||||
static int nd_send(netdev2_t *netdev, const struct iovec *data, int count)
|
||||
|
Loading…
Reference in New Issue
Block a user