From fea2cd1cc5c00ac2fb7d4726cb72f51235e586ee Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 14 Mar 2020 01:21:43 +0100 Subject: [PATCH] add new settings mappings for rf_notch and dab_notch --- owrx/source/sdrplay.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/owrx/source/sdrplay.py b/owrx/source/sdrplay.py index 1ebac37..9306b86 100644 --- a/owrx/source/sdrplay.py +++ b/owrx/source/sdrplay.py @@ -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):