mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Skip spectrum curve smoothing in manual mode (issue #333)
This commit is contained in:
1 parent
c92e63da0d
commit
4523108293
1 file changed
+5
-1
+5
-1
@@ -1525,7 +1525,11 @@ static void BuildCurrentSpectrumTopY(uint8_t *topY)
|
||||
#endif
|
||||
|
||||
BuildSpectrumTopY(topY, bars);
|
||||
SmoothTopY(topY);
|
||||
// Skip cosmetic smoothing in manual mode so the rendered curve matches
|
||||
// the raw RSSI used by the squelch detector — narrow peaks must visibly
|
||||
// cross the trigger line when the radio opens the squelch.
|
||||
if (!manualSetFlag)
|
||||
SmoothTopY(topY);
|
||||
}
|
||||
|
||||
static void DrawStatus()
|
||||
|
||||
Reference in new issue
Block a user