Fix merging error
This commit is contained in:
parent
bf31a27dca
commit
4a86af69d1
17
owrx/dsp.py
17
owrx/dsp.py
@ -56,23 +56,6 @@ class DspManager(csdr.output, SdrSourceEventClient):
|
|||||||
}
|
}
|
||||||
self.localProps = PropertyValidator(PropertyLayer().filter(*validators.keys()), validators)
|
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)
|
self.props.addLayer(0, self.localProps)
|
||||||
# properties that we inherit from the sdr
|
# properties that we inherit from the sdr
|
||||||
self.props.addLayer(
|
self.props.addLayer(
|
||||||
|
Loading…
Reference in New Issue
Block a user