Revert "add channel selection to optional device parameters"

This reverts commit 2e47f38a8d.
This commit is contained in:
Alexander Sholohov 2024-01-05 08:40:16 +07:00
parent 2e47f38a8d
commit cde6f586f9

View file

@ -28,7 +28,6 @@ class ConnectorSource(SdrSource):
"rtltcp_compat": Option("-r"), "rtltcp_compat": Option("-r"),
"ppm": Option("-P"), "ppm": Option("-P"),
"rf_gain": Option("-g"), "rf_gain": Option("-g"),
"soapy_channel": Option("-n"),
} }
) )
) )
@ -88,14 +87,10 @@ class ConnectorDeviceDescription(SdrDeviceDescription):
"Swap I and Q channels", "Swap I and Q channels",
infotext="Swapping inverts the spectrum, so this is useful in combination with an inverting mixer", infotext="Swapping inverts the spectrum, so this is useful in combination with an inverting mixer",
), ),
NumberInput(
"soapy_channel",
"Select SoapySDR Channel",
),
] ]
def getDeviceOptionalKeys(self): def getDeviceOptionalKeys(self):
return super().getDeviceOptionalKeys() + ["rtltcp_compat", "iqswap", "soapy_channel"] return super().getDeviceOptionalKeys() + ["rtltcp_compat", "iqswap"]
def getProfileOptionalKeys(self): def getProfileOptionalKeys(self):
return super().getProfileOptionalKeys() + ["iqswap"] return super().getProfileOptionalKeys() + ["iqswap"]