add new settings mappings for rf_notch and dab_notch

This commit is contained in:
Jakob Ketterl 2020-03-14 01:21:43 +01:00
parent 7742d7a048
commit fea2cd1cc5

View File

@ -4,7 +4,13 @@ from .soapy import SoapyConnectorSource
class SdrplaySource(SoapyConnectorSource): class SdrplaySource(SoapyConnectorSource):
def getSoapySettingsMappings(self): def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings() mappings = super().getSoapySettingsMappings()
mappings.update({"bias_tee": "biasT_ctrl"}) mappings.update(
{
"bias_tee": "biasT_ctrl",
"rf_notch": "rfnotch_ctrl",
"dab_notch": "dabnotch_ctrl",
}
)
return mappings return mappings
def getDriver(self): def getDriver(self):