transceiver: RSSI was calculated reverse.

This commit is contained in:
Alexander Chemeris 2017-03-15 23:46:43 +03:00
parent 7a33c7221b
commit 6459ddc55c
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ SoftVector *Transceiver::pullRadioVector(GSM::Time &wTime, double &RSSI, bool &i
avg = sqrt(avg / radio_burst->chans());
wTime = time;
RSSI = 20.0 * log10(rxFullScale / avg);
RSSI = 20.0 * log10(avg / rxFullScale);
/* RSSI estimation are valid */
isRssiValid = true;