mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-05 12:29:38 +00:00
Use a fresh RSSI value in the read function.
This commit is contained in:
parent
a604013a88
commit
ee59f1fe34
@ -292,6 +292,7 @@ cc1020_off(void)
|
||||
uint8_t
|
||||
cc1020_get_rssi(void)
|
||||
{
|
||||
rssi = cc1020_read_reg(CC1020_RSS);
|
||||
return rssi;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user