Skip to content

Commit

Permalink
Merge pull request #10 from john-/fix_freq_low
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmorgul authored Nov 9, 2023
2 parents 30dc2e1 + 9866eec commit e92838c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e92838c

Please sign in to comment.