Fixed the names to work.
This commit is contained in:
parent
11ec294032
commit
a21fe1371e
@ -15,7 +15,7 @@ class SdrplaySource(SoapyConnectorSource):
|
|||||||
"dab_notch": "dabnotch_ctrl",
|
"dab_notch": "dabnotch_ctrl",
|
||||||
"if_mode": "if_mode",
|
"if_mode": "if_mode",
|
||||||
"external_reference": "extref_ctrl",
|
"external_reference": "extref_ctrl",
|
||||||
"gain_ctrl_mode": "gain_ctrl_mode",
|
"gain_model": "gain_ctrl_model",
|
||||||
"agc_setpoint": "agc_setpoint",
|
"agc_setpoint": "agc_setpoint",
|
||||||
"rfgain_sel": "rfgain_sel"
|
"rfgain_sel": "rfgain_sel"
|
||||||
}
|
}
|
||||||
@ -58,11 +58,11 @@ class SdrplayDeviceDescription(SoapyConnectorDeviceDescription):
|
|||||||
BiasTeeInput(),
|
BiasTeeInput(),
|
||||||
CheckboxInput(
|
CheckboxInput(
|
||||||
"rf_notch",
|
"rf_notch",
|
||||||
"Enable RF notch filter",
|
"Enable RF Notch Filter",
|
||||||
),
|
),
|
||||||
CheckboxInput(
|
CheckboxInput(
|
||||||
"dab_notch",
|
"dab_notch",
|
||||||
"Enable DAB notch filter",
|
"Enable DAB Notch Filter",
|
||||||
),
|
),
|
||||||
DropdownInput(
|
DropdownInput(
|
||||||
"if_mode",
|
"if_mode",
|
||||||
@ -70,7 +70,7 @@ class SdrplayDeviceDescription(SoapyConnectorDeviceDescription):
|
|||||||
IfModeOptions,
|
IfModeOptions,
|
||||||
),
|
),
|
||||||
DropdownInput(
|
DropdownInput(
|
||||||
"gain_ctrl_model",
|
"gain_model",
|
||||||
"Gain Control Model",
|
"Gain Control Model",
|
||||||
GainModelOptions,
|
GainModelOptions,
|
||||||
),
|
),
|
||||||
@ -88,7 +88,7 @@ class SdrplayDeviceDescription(SoapyConnectorDeviceDescription):
|
|||||||
]
|
]
|
||||||
|
|
||||||
def getDeviceOptionalKeys(self):
|
def getDeviceOptionalKeys(self):
|
||||||
return super().getDeviceOptionalKeys() + ["bias_tee", "rf_notch", "dab_notch", "if_mode", "gain_ctrl_mode", "agc_setpoint", "rfgain_sel"]
|
return super().getDeviceOptionalKeys() + ["bias_tee", "rf_notch", "dab_notch", "if_mode", "gain_model", "agc_setpoint", "rfgain_sel"]
|
||||||
|
|
||||||
def getProfileOptionalKeys(self):
|
def getProfileOptionalKeys(self):
|
||||||
return super().getProfileOptionalKeys() + ["bias_tee", "rf_notch", "dab_notch", "if_mode", "gain_ctrl_mode", "agc_setpoint", "rfgain_sel"]
|
return super().getProfileOptionalKeys() + ["bias_tee", "rf_notch", "dab_notch", "if_mode", "gain_model", "agc_setpoint", "rfgain_sel"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user