Skip to content

Commit

Permalink
Adapt to API changes in PR RIOT-OS#4871
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneby committed Jun 30, 2016
1 parent c822c55 commit 2404000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpu/cc2538/radio/cc2538_rf_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static netdev2_t *_dev;
void _irq_handler(void)
{
if (_dev->event_callback) {
_dev->event_callback(_dev, NETDEV2_EVENT_ISR, NULL);
_dev->event_callback(_dev, NETDEV2_EVENT_ISR);
}
}

Expand Down Expand Up @@ -342,7 +342,7 @@ static int _recv(netdev2_t *netdev, char *buf, int len, void *info)

static void _isr(netdev2_t *netdev)
{
netdev->event_callback(netdev, NETDEV2_EVENT_RX_COMPLETE, netdev->isr_arg);
netdev->event_callback(netdev, NETDEV2_EVENT_RX_COMPLETE);
}

static int _init(netdev2_t *netdev)
Expand Down

0 comments on commit 2404000

Please sign in to comment.