add always-on feature

This commit is contained in:
Jakob Ketterl
2019-12-31 19:14:05 +01:00
parent 036442aa69
commit 42828dbf65
7 changed files with 27 additions and 18 deletions

View File

@ -3,9 +3,8 @@ from .soapy import SoapyConnectorSource
class AirspySource(SoapyConnectorSource):
def __init__(self, id, props):
super().__init__(id, props)
self.getCommandMapper().setMappings({"bias_tee": Flag("-t biastee=true")})
def getCommandMapper(self):
return super().getCommandMapper().setMappings({"bias_tee": Flag("-t biastee=true")})
def getDriver(self):
return "airspy"