Slight improvement of the tone generator.

This commit is contained in:
teixeluis 2021-06-11 00:13:56 +01:00
parent edcd780402
commit c2dc7d1cf5
6 changed files with 99 additions and 38 deletions

View file

@ -76,8 +76,7 @@ void RSSI::paint(Painter& painter) {
);
if (pitch_rssi_enabled) {
//baseband::set_pitch_rssi((avg_ - raw_min) * 2000 / raw_delta, true);
baseband::set_pitch_rssi((min_ - raw_min) * 2000 / raw_delta, true);
baseband::set_pitch_rssi((avg_ - raw_min) * 2000 / raw_delta, true);
}
}