use new mechanism for airspy bias-tee, too
This commit is contained in:
parent
5da2047935
commit
4deb4c781e
@ -3,11 +3,10 @@ from .soapy import SoapyConnectorSource
|
|||||||
|
|
||||||
|
|
||||||
class AirspySource(SoapyConnectorSource):
|
class AirspySource(SoapyConnectorSource):
|
||||||
def getCommandMapper(self):
|
def getSoapySettingsMappings(self):
|
||||||
return super().getCommandMapper().setMappings({"bias_tee": Flag("-t biastee=true")})
|
mappings = super().getSoapySettingsMappings()
|
||||||
|
mappings.update({"bias_tee": "biastee"})
|
||||||
|
return mappings
|
||||||
|
|
||||||
def getDriver(self):
|
def getDriver(self):
|
||||||
return "airspy"
|
return "airspy"
|
||||||
|
|
||||||
def getEventNames(self):
|
|
||||||
return super().getEventNames() + ["bias_tee"]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user