[riot-notifications] [RIOT-OS/RIOT] netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT (#16604)

Francisco notifications at github.com
Fri Jul 2 09:00:56 CEST 2021

@fjmolinas commented on this pull request.

> @@ -444,8 +444,8 @@ static int _set(netdev_t *netdev, netopt_t opt, const void *val, size_t len)
         return sizeof(netopt_enable_t);
-        assert(len <= sizeof(uint16_t));
-        sx127x_set_symbol_timeout(dev, *((const uint16_t *)val));
+        assert(len <= sizeof(uint8_t));

Huh? `assert(len <= 1)? symbol timeout is max 1 symbol?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210702/308643ce/attachment.htm>

More information about the notifications mailing list