1 parent 5084d2b commit 07e2fc7Copy full SHA for 07e2fc7
1 file changed
tools/gen_usb_descriptor.py
@@ -382,7 +382,6 @@ def strings_in_order(cls):
382
for interface in interfaces:
383
for subdescriptor in interface.subdescriptors:
384
endpoint_address = getattr(subdescriptor, 'bEndpointAddress', 0) & 0x7f
385
- print("Endpoint %d - vs max_ep %d" % (endpoint_address, args.max_ep))
386
if endpoint_address >= args.max_ep:
387
raise ValueError("Endpoint address %d of %s must be less than %d" % (endpoint_address & 0x7f, interface.description, args.max_ep))
388
else:
0 commit comments