Skip to content

Commit

Permalink
Always allow asymmetric filters (Shift+Wheel)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladisslav2011 committed Sep 24, 2024
1 parent 0b0927e commit b541c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/receivers/modulations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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;
Expand Down

0 comments on commit b541c76

Please sign in to comment.