[riot-notifications] [RIOT-OS/RIOT] drivers/mrf24j40: add Turbo Mode (#14047)

Leandro Lanzieri notifications at github.com
Tue May 19 16:09:50 CEST 2020


@leandrolanzieri commented on this pull request.



> @@ -330,6 +330,20 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
             }
             break;
 
+#ifdef MODULE_NETDEV_IEEE802154_OQPSK
+
+        case NETOPT_IEEE802154_PHY:
+            assert(max_len >= sizeof(int8_t));
+            *(uint8_t *)val = IEEE802154_PHY_OQPSK;
+            return sizeof(uint8_t);
+
+        case NETOPT_OQPSK_RATE:

I see. Ok then I'm fine with this, but I think that a follow-up PR which improves the documentation of `NETOPT_OQPSK_RATE` would be good.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14047#discussion_r427331112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200519/90842edf/attachment.htm>


More information about the notifications mailing list