openwebrx-clone/owrx/source/hackrf.py

11 lines
300 B
Python
Raw Normal View History

2020-05-30 20:58:31 +00:00
from .soapy import SoapyConnectorSource
2020-05-30 20:58:31 +00:00
class HackrfSource(SoapyConnectorSource):
2020-05-30 21:03:43 +00:00
def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings()
mappings.update({"bias_tee": "bias_tx"})
return mappings
2020-05-30 20:58:31 +00:00
def getDriver(self):
return "hackrf"