fix "remote" mappings for rtl_tcp and soapy_remote

This commit is contained in:
Jakob Ketterl 2021-04-02 21:46:21 +02:00
parent 6cca37a9df
commit b877d8439a
2 changed files with 4 additions and 1 deletions

View File

@ -26,4 +26,4 @@ class RtlTcpDeviceDescription(ConnectorDeviceDescription):
return super().getInputs() + [RemoteInput()] return super().getInputs() + [RemoteInput()]
def getDeviceMandatoryKeys(self): def getDeviceMandatoryKeys(self):
return super().getDeviceMandatoryKeys() + ["device"] return super().getDeviceMandatoryKeys() + ["remote"]

View File

@ -29,5 +29,8 @@ class SoapyRemoteDeviceDescription(SoapyConnectorDeviceDescription):
), ),
] ]
def getDeviceMandatoryKeys(self):
return super().getDeviceMandatoryKeys() + ["remote"]
def getDeviceOptionalKeys(self): def getDeviceOptionalKeys(self):
return super().getDeviceOptionalKeys() + ["remote_driver"] return super().getDeviceOptionalKeys() + ["remote_driver"]