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