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

@@ -18,6 +18,11 @@ class HackrfDeviceDescription(SoapyConnectorDeviceDescription):
def getName(self):
return "HackRF"
def supportsPpm(self):
# not implemented by the SoapySDR module.
# see discussion here: https://groups.io/g/openwebrx/topic/78339109
return False
def getInputs(self) -> List[Input]:
return super().getInputs() + [BiasTeeInput()]