mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-02 14:56:19 -04:00
Improved the pitch RSSI. Still looking for better approach.
This commit is contained in:
parent
c85e6a4d52
commit
edcd780402
5 changed files with 174 additions and 26 deletions
|
@ -75,8 +75,10 @@ void RSSI::paint(Painter& painter) {
|
|||
Color::black()
|
||||
);
|
||||
|
||||
if (pitch_rssi_enabled)
|
||||
baseband::set_pitch_rssi((avg_ - raw_min) * 2000 / raw_delta, true);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
void RSSI::set_pitch_rssi(bool enabled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue