Use a fresh RSSI value in the read function.

This commit is contained in:
nvt-se 2007-11-07 15:26:00 +00:00
parent a604013a88
commit ee59f1fe34

View file

@ -292,6 +292,7 @@ cc1020_off(void)
uint8_t
cc1020_get_rssi(void)
{
rssi = cc1020_read_reg(CC1020_RSS);
return rssi;
}