diff --git a/frequencies.c b/frequencies.c index 0932d36..7c174c4 100644 --- a/frequencies.c +++ b/frequencies.c @@ -126,6 +126,8 @@ uint32_t FREQUENCY_RoundToStep(uint32_t freq, uint16_t step) } if(step == 1) return freq; + if(step >= 1000) + step = step/2; return (freq + (step + 1) / 2) / step * step; }