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
1 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,13 @@ from .soapy import SoapyConnectorSource
class SdrplaySource(SoapyConnectorSource):
def getSoapySettingsMappings(self):
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
def getDriver(self):