disable PPM input for devices that don't support it

This commit is contained in:
Jakob Ketterl
2022-06-09 20:25:29 +02:00
parent fe7f2317de
commit 35ad4712bb
7 changed files with 39 additions and 2 deletions

View File

@@ -23,6 +23,12 @@ class AirspyDeviceDescription(SoapyConnectorDeviceDescription):
def getName(self):
return "Airspy R2 or Mini"
def supportsPpm(self):
# not supported by the device API
# frequency calibration can be done with separate tools and will be persisted on the device.
# see discussion here: https://groups.io/g/openwebrx/topic/79360293
return False
def getInputs(self) -> List[Input]:
return super().getInputs() + [
BiasTeeInput(),