mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-04 22:19:04 +00:00
add bias_tee and direct_sampling options
This commit is contained in:
parent
0ab6729fcc
commit
18e8ca5e43
6 changed files with 63 additions and 5 deletions
|
|
@ -1,4 +1,7 @@
|
|||
from .soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
||||
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
||||
from owrx.form import Input
|
||||
from owrx.form.device import BiasTeeInput
|
||||
from typing import List
|
||||
|
||||
|
||||
class HackrfSource(SoapyConnectorSource):
|
||||
|
|
@ -12,4 +15,5 @@ class HackrfSource(SoapyConnectorSource):
|
|||
|
||||
|
||||
class HackrfDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
pass
|
||||
def getInputs(self) -> List[Input]:
|
||||
return self.mergeInputs(super().getInputs(), [BiasTeeInput])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue