mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #4909 from kaspar030/fix_ethos_info
drivers: ethos: fix _recv signature
This commit is contained in:
commit
6422fac710
@ -291,8 +291,9 @@ static void _get_mac_addr(netdev2_t *encdev, uint8_t* buf)
|
||||
memcpy(buf, dev->mac_addr, 6);
|
||||
}
|
||||
|
||||
static int _recv(netdev2_t *netdev, char* buf, int len)
|
||||
static int _recv(netdev2_t *netdev, char* buf, int len, void* info)
|
||||
{
|
||||
(void) info;
|
||||
ethos_t * dev = (ethos_t *) netdev;
|
||||
|
||||
if (buf) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user