openwebrx-clone/owrx/source/hackrf.py
2020-05-30 23:03:43 +02:00

11 lines
300 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"