diff --git a/apps/scanner.py b/apps/scanner.py index bc18806..1f3111b 100755 --- a/apps/scanner.py +++ b/apps/scanner.py @@ -495,7 +495,7 @@ def set_center_freq(self, center_freq): self.min_freq = (self.center_freq - self.samp_rate/2) self.max_freq = (self.center_freq + self.samp_rate/2) # reset low/high freq for demod based on new center and bounds from original provided - self.freq_low = self.low_bound - self.center_freq + self.freq_low = self.low_bound + self.center_freq self.freq_high = self.high_bound + self.center_freq # cannot set channel freq lower than min sampled freq if (self.freq_low < self.min_freq):