From 3371697e1886d04a47940c0c67a9b3172824ba89 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 30 May 2020 23:03:43 +0200 Subject: [PATCH] add bias_tee mapping --- owrx/source/hackrf.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/owrx/source/hackrf.py b/owrx/source/hackrf.py index 02547f7..a103218 100644 --- a/owrx/source/hackrf.py +++ b/owrx/source/hackrf.py @@ -1,8 +1,11 @@ from .soapy import SoapyConnectorSource -from owrx.command import Option -import time class HackrfSource(SoapyConnectorSource): + def getSoapySettingsMappings(self): + mappings = super().getSoapySettingsMappings() + mappings.update({"bias_tee": "bias_tx"}) + return mappings + def getDriver(self): return "hackrf" \ No newline at end of file