mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 14:07:32 +00:00
use information from the mode registry to set up services
This commit is contained in:
parent
a3fd931931
commit
bee6ddc843
3 changed files with 44 additions and 22 deletions
|
|
@ -656,6 +656,9 @@ class dsp(object):
|
|||
def get_operating_freq(self):
|
||||
return self.center_freq + self.offset_freq
|
||||
|
||||
def set_bandpass(self, bandpass):
|
||||
self.set_bpf(bandpass.low_cut, bandpass.high_cut)
|
||||
|
||||
def set_bpf(self, low_cut, high_cut):
|
||||
self.low_cut = low_cut
|
||||
self.high_cut = high_cut
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue