pass the nmux port on (defaults are bad...)

This commit is contained in:
Jakob Ketterl 2019-07-23 16:43:46 +01:00
parent eb9bc5f8dc
commit 8c2cefe304

View File

@ -81,6 +81,7 @@ class ServiceHandler(object):
def setupService(self, mode, frequency):
logger.debug("setting up service {0} on frequency {1}".format(mode, frequency))
d = dsp(ServiceOutput(frequency))
d.nc_port = self.source.getPort()
d.set_offset_freq(frequency - self.source.getProps()["center_freq"])
d.set_demodulator("usb")
d.set_bpf(0, 3000)