remove port flag and turn rtltcp_compat into an option
This commit is contained in:
parent
2579b9be26
commit
781b4383d6
@ -59,10 +59,7 @@ class SdrSource(ABC):
|
||||
self.activateProfile()
|
||||
self.wireEvents()
|
||||
|
||||
if "port" in props and props["port"] is not None:
|
||||
self.port = props["port"]
|
||||
else:
|
||||
self.port = getAvailablePort()
|
||||
self.port = getAvailablePort()
|
||||
self.monitor = None
|
||||
self.clients = []
|
||||
self.spectrumClients = []
|
||||
|
@ -23,7 +23,7 @@ class ConnectorSource(SdrSource):
|
||||
"controlPort": Option("-c"),
|
||||
"device": Option("-d"),
|
||||
"iqswap": Flag("-i"),
|
||||
"rtltcp_compat": Flag("-r"),
|
||||
"rtltcp_compat": Option("-r"),
|
||||
"ppm": Option("-P"),
|
||||
"rf_gain": Option("-g"),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user