mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/sx126x: fix wrong return value in recv function
This commit is contained in:
parent
d4941604d9
commit
951822c41b
@ -108,7 +108,7 @@ static int _recv(netdev_t *netdev, void *buf, size_t len, void *info)
|
||||
|
||||
sx126x_read_buffer(dev, rx_buffer_status.buffer_start_pointer, buf, size);
|
||||
|
||||
return 0;
|
||||
return size;
|
||||
}
|
||||
|
||||
static int _init(netdev_t *netdev)
|
||||
|
Loading…
Reference in New Issue
Block a user