1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/sx126x
Jose Alamos d4941604d9
drivers/sx126x: fix netdev send function
This commit fixes the send function of sx126x. The loop that reads the
iolist was not considering the offset. Therefore each iolist snippet was
being written into the first position.

The loop was also setting the payload length to the size of the iolist
snippet. Then the payload was also wrong.

With this commit an iolist is copied sequentially into the framebuffer
and the payload length is set to `iolist_size`
2021-06-18 12:19:16 +02:00
..
include drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00
Kconfig drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00
Makefile drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00
Makefile.dep drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00
Makefile.include drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00
sx126x_netdev.c drivers/sx126x: fix netdev send function 2021-06-18 12:19:16 +02:00
sx126x.c drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00