From 9de83976b815c07761357f70998e44078a6f3a90 Mon Sep 17 00:00:00 2001 From: Vladslav P Date: Wed, 24 Jul 2024 02:52:05 +0300 Subject: [PATCH] Always allow asymmetric filters (Shift+Wheel) --- src/receivers/modulations.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/receivers/modulations.cpp b/src/receivers/modulations.cpp index 83ccea339..b2f58421e 100644 --- a/src/receivers/modulations.cpp +++ b/src/receivers/modulations.cpp @@ -122,6 +122,7 @@ bool Modulations::UpdateFilterRange(Modulations::idx iModulationIndex, int& low, bool updated = false; if (iModulationIndex >= MODE_COUNT) iModulationIndex = MODE_AM; + #if 0 if (IsFilterSymmetric(iModulationIndex)) if (high != (high - low) / 2) { @@ -130,6 +131,7 @@ bool Modulations::UpdateFilterRange(Modulations::idx iModulationIndex, int& low, else high = -low; } + #endif if (low < modes[iModulationIndex].ranges.lo.min) { low = modes[iModulationIndex].ranges.lo.min;