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

benpicco notifications at github.com
Thu May 23 14:50:17 CEST 2019


benpicco commented on this pull request.



> @@ -93,6 +93,8 @@ bool mrf24j40_cca(mrf24j40_t *dev)
     /* return according to measurement */
     tmp_ccaedth = mrf24j40_reg_read_short(dev, MRF24J40_REG_CCAEDTH);       /* Energy detection threshold */
     tmp_rssi = mrf24j40_reg_read_long(dev, MRF24J40_REG_RSSI);
+    *rssi = mrf24j40_dbm_from_reg(tmp_rssi);

`if (rssi  != 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-241179461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190523/84b0d43f/attachment.html>


More information about the notifications mailing list