diff options
Diffstat (limited to 'build-aux/measurestack/app_plugins.py')
-rw-r--r-- | build-aux/measurestack/app_plugins.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build-aux/measurestack/app_plugins.py b/build-aux/measurestack/app_plugins.py index 0bd5486..7eb7706 100644 --- a/build-aux/measurestack/app_plugins.py +++ b/build-aux/measurestack/app_plugins.py @@ -806,13 +806,14 @@ class TinyUSBDevicePlugin: assert m call = m.group("func") if call == "_ctrl_xfer.complete_cb": - return [ - # "process_test_mode_cb", + ret = { + # QName("process_test_mode_cb"), QName("tud_vendor_control_xfer_cb"), - *sorted(self.tud_drivers["control_xfer_cb"]), - ], False + } + ret.update(self.tud_drivers["control_xfer_cb"]) + return ret, False if call.startswith("driver->"): - return sorted(self.tud_drivers[call[len("driver->") :]]), False + return self.tud_drivers[call[len("driver->") :]], False if call == "event.func_call.func": # callback from usb_defer_func() return [], False |