adapt to config event api changes

This commit is contained in:
Jakob Ketterl
2020-12-30 17:18:46 +01:00
parent 29703d10b2
commit cf0c6e7f9d
10 changed files with 30 additions and 32 deletions

View File

@@ -71,7 +71,7 @@ class DspManager(csdr.output, SdrSourceEventClient):
bpf[1] = cut
self.dsp.set_bpf(*bpf)
def set_dial_freq(key, value):
def set_dial_freq(changes):
if self.props["center_freq"] is None or self.props["offset_freq"] is None:
return
freq = self.props["center_freq"] + self.props["offset_freq"]