mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 22:17:34 +00:00
introduce the basic concept of optional keys
This commit is contained in:
parent
683a711b49
commit
770fd749cd
12 changed files with 146 additions and 122 deletions
|
|
@ -16,4 +16,11 @@ class HackrfSource(SoapyConnectorSource):
|
|||
|
||||
class HackrfDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
def getInputs(self) -> List[Input]:
|
||||
return self.mergeInputs(super().getInputs(), [BiasTeeInput()])
|
||||
return super().getInputs() + [BiasTeeInput()]
|
||||
|
||||
def getOptionalKeys(self):
|
||||
return super().getOptionalKeys() + ["bias_tee"]
|
||||
|
||||
# TODO: find actual gain stages for hackrf
|
||||
# def getGainStages(self):
|
||||
# return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue