openwebrx-clone/owrx/source/hackrf.py
2021-01-20 17:01:46 +01:00

12 lines
301 B
Python

from .soapy import SoapyConnectorSource
class HackrfSource(SoapyConnectorSource):
def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings()
mappings.update({"bias_tee": "bias_tx"})
return mappings
def getDriver(self):
return "hackrf"