1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00

Merge pull request #4886 from OlegHahm/kw2xrf_typos

kw2xrf: fix two typos
This commit is contained in:
Oleg Hahm 2016-02-24 00:20:36 +01:00
commit a9250037d8

View File

@ -1008,7 +1008,7 @@ void _receive_data(kw2xrf_t *dev)
return;
}
/* If RAW-mode is selected direclty forward pkt, MAC does the rest */
/* If RAW-mode is selected directly forward pkt, MAC does the rest */
if (dev->option & KW2XRF_OPT_RAWDUMP) {
payload = gnrc_pktbuf_add(NULL, NULL, pkt_len, GNRC_NETTYPE_UNDEF);
@ -1043,8 +1043,8 @@ void _receive_data(kw2xrf_t *dev)
netif->if_pid = thread_getpid();
netif->lqi = dev->buf[pkt_len];
/* lqi and rssi are directly related to each other in the kw2x-device.
* The rssi-unit is dBm and in this case alwaysnegative, nevertheless
* a positive value is reported.
* The rssi-unit is dBm and in this case always negative, nevertheless a
* positive value is reported.
*/
netif->rssi = -((netif->lqi) - 286.6) / 2.69333;