mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
add channel selection to optional device parameters
This commit is contained in:
parent
3008303dc1
commit
2e47f38a8d
|
|
@ -28,6 +28,7 @@ class ConnectorSource(SdrSource):
|
|||
"rtltcp_compat": Option("-r"),
|
||||
"ppm": Option("-P"),
|
||||
"rf_gain": Option("-g"),
|
||||
"soapy_channel": Option("-n"),
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
@ -87,10 +88,14 @@ class ConnectorDeviceDescription(SdrDeviceDescription):
|
|||
"Swap I and Q channels",
|
||||
infotext="Swapping inverts the spectrum, so this is useful in combination with an inverting mixer",
|
||||
),
|
||||
NumberInput(
|
||||
"soapy_channel",
|
||||
"Select SoapySDR Channel",
|
||||
),
|
||||
]
|
||||
|
||||
def getDeviceOptionalKeys(self):
|
||||
return super().getDeviceOptionalKeys() + ["rtltcp_compat", "iqswap"]
|
||||
return super().getDeviceOptionalKeys() + ["rtltcp_compat", "iqswap", "soapy_channel"]
|
||||
|
||||
def getProfileOptionalKeys(self):
|
||||
return super().getProfileOptionalKeys() + ["iqswap"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue