mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 17:57:26 +00:00
Improved the pitch RSSI. Still looking for better approach.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user