mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-04 22:19:04 +00:00
more work to allow seamless config switching
This commit is contained in:
parent
35930f79f1
commit
4cd23cf445
5 changed files with 20 additions and 13 deletions
|
|
@ -34,17 +34,17 @@ class RtlNmuxSource(object):
|
|||
self.start()
|
||||
props.wire(restart)
|
||||
|
||||
featureDetector = FeatureDetector()
|
||||
if not featureDetector.is_available(props["rtl_type"]):
|
||||
print("The RTL source type {0} is not available. please check requirements.".format(props["rtl_type"]))
|
||||
return
|
||||
|
||||
self.start()
|
||||
|
||||
def start(self):
|
||||
|
||||
props = self.props
|
||||
|
||||
featureDetector = FeatureDetector()
|
||||
if not featureDetector.is_available(props["rtl_type"]):
|
||||
print("The RTL source type {0} is not available. please check requirements.".format(props["rtl_type"]))
|
||||
return
|
||||
|
||||
params = RtlNmuxSource.types[props["rtl_type"]]
|
||||
|
||||
start_sdr_command = params["command"].format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue