fix types

This commit is contained in:
Gilles Boccon-Gibod
2026-03-06 18:23:20 -08:00
parent f9bd3084b9
commit 9b2e345a1e
3 changed files with 14 additions and 14 deletions
+1 -2
View File
@@ -222,9 +222,8 @@ def find_endpoints(device, forced_mode, sco_alternate=None):
class UsbPacketSink:
def __init__(self, device, bulk_out, isochronous_out):
def __init__(self, device, bulk_out, isochronous_out) -> None:
self.device = device
self.packets = asyncio.Queue[bytes]() # Queue of packets waiting to be sent
self.bulk_out = bulk_out
self.isochronous_out = isochronous_out
self.bulk_or_control_out_transfer = device.getTransfer()