mirror of
https://github.com/jopohl/urh.git
synced 2026-03-25 01:16:59 +01:00
Catch none Backend
This commit is contained in:
@@ -70,6 +70,8 @@ class VirtualDevice(QObject):
|
||||
self.__dev.rcv_index_changed.connect(self.emit_index_changed)
|
||||
if mode == Mode.send:
|
||||
self.__dev.init_send_parameters(samples_to_send, sending_repeats, skip_device_parameters=True)
|
||||
elif self.backend == Backends.none:
|
||||
self.__dev = None
|
||||
else:
|
||||
raise ValueError("Unsupported Backend")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user