mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
pkg/openwsn/contrib/radio_hal: fix rssi conversion
This commit is contained in:
parent
6d4d00ebe9
commit
49c90cd517
@ -310,7 +310,7 @@ void radio_getReceivedFrame(uint8_t *bufRead,
|
||||
OpenWSN includes IEEE802154_FCS_LEN in its length value */
|
||||
*lenRead = size + IEEE802154_FCS_LEN;
|
||||
/* get rssi, lqi & crc */
|
||||
*rssi = rx_info.rssi;
|
||||
*rssi = ieee802154_rssi_to_dbm(rx_info.rssi);
|
||||
*lqi = rx_info.lqi;
|
||||
/* only valid crc frames are currently accepted */
|
||||
*crc = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user