Skip spectrum curve smoothing in manual mode (issue #333)

This commit is contained in:
Armel FAUVEAU committed 2026-05-05 22:00:10 +02:00
1 parent c92e63da0d
commit 4523108293
1 file changed
+5 -1
+5 -1
View File
@@ -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()