mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-02-03 14:04:19 +01:00
rename parameter
This commit is contained in:
parent
35c2701e37
commit
395868d7f9
|
|
@ -18,7 +18,7 @@ class SoapyConnectorSource(ConnectorSource, metaclass=ABCMeta):
|
|||
{
|
||||
"antenna": Option("-a"),
|
||||
"soapy_settings": Option("-t"),
|
||||
"soapy_channel": Option("-n"),
|
||||
"channel": Option("-n"),
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
@ -102,7 +102,7 @@ class SoapyConnectorDeviceDescription(ConnectorDeviceDescription):
|
|||
if self.getNumberOfChannels() > 1:
|
||||
inputs += [
|
||||
NumberInput(
|
||||
"soapy_channel",
|
||||
"channel",
|
||||
"Select SoapySDR Channel",
|
||||
validator=RangeValidator(0, self.getNumberOfChannels() - 1)
|
||||
)
|
||||
|
|
@ -117,7 +117,7 @@ class SoapyConnectorDeviceDescription(ConnectorDeviceDescription):
|
|||
return 1
|
||||
|
||||
def getDeviceOptionalKeys(self):
|
||||
return super().getDeviceOptionalKeys() + ["device", "rf_gain", "antenna", "soapy_channel"]
|
||||
return super().getDeviceOptionalKeys() + ["device", "rf_gain", "antenna", "channel"]
|
||||
|
||||
def getProfileOptionalKeys(self):
|
||||
return super().getProfileOptionalKeys() + ["antenna"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue