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 a new issue