From 4a86af69d1b97bad2c647e9212d0f41266486c6d Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 24 Jan 2021 23:20:17 +0100 Subject: [PATCH] Fix merging error --- owrx/dsp.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/owrx/dsp.py b/owrx/dsp.py index 76775b6..20d377e 100644 --- a/owrx/dsp.py +++ b/owrx/dsp.py @@ -56,23 +56,6 @@ class DspManager(csdr.output, SdrSourceEventClient): } self.localProps = PropertyValidator(PropertyLayer().filter(*validators.keys()), validators) - self.props.addLayer(0, self.localProps) - # ensure strict validation since these can be set from the client - # and are used to build executable commands - validators = { - "output_rate": "int", - "hd_output_rate": "int", - "squelch_level": "num", - "secondary_mod": ModulationValidator(), - "low_cut": "num", - "high_cut": "num", - "offset_freq": "int", - "mod": ModulationValidator(), - "secondary_offset_freq": "int", - "dmr_filter": "int", - } - self.localProps = PropertyValidator(PropertyLayer().filter(*validators.keys()), validators) - self.props.addLayer(0, self.localProps) # properties that we inherit from the sdr self.props.addLayer(