mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
add more sample rate validation
This commit is contained in:
parent
374bbb599e
commit
402eadd280
21 changed files with 145 additions and 9 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
||||
from owrx.form.input.validator import Range
|
||||
|
||||
|
||||
class BladerfSource(SoapyConnectorSource):
|
||||
|
|
@ -9,3 +10,6 @@ class BladerfSource(SoapyConnectorSource):
|
|||
class BladerfDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
def getName(self):
|
||||
return "Blade RF"
|
||||
|
||||
def getSampleRateRanges(self) -> list[Range]:
|
||||
return [Range(160000, 40000000)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue