[riot-notifications] [RIOT-OS/RIOT] drivers/mrf24j40 : support of NETOPT_LAST_ED_LEVEL (#10771)

benpicco notifications at github.com
Thu May 23 14:51:02 CEST 2019


benpicco commented on this pull request.



> @@ -286,14 +286,27 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
             break;
 
         case NETOPT_IS_CHANNEL_CLR:
-            if (mrf24j40_cca(dev)) {
+        {
+            int8_t rssi;
+            if (mrf24j40_cca(dev, &rssi)) {

`if (mrf24j40_cca(dev, NULL) {`

-- 
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/10771#pullrequestreview-241179859
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190523/061253eb/attachment.html>


More information about the notifications mailing list