1
0
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:
Jose Alamos 2021-06-22 16:14:21 +02:00
parent d4941604d9
commit 951822c41b
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -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)