summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2020-08-30 23:14:50 -0400
committerGitHub <noreply@github.com>2020-08-30 23:14:50 -0400
commit07e2fc721a9903a2f5340fe9763c8b2f17310521 (patch)
tree62e11cdf70a3e9ead859a07dae0adfd394aa6559 /tools
parent5084d2b56bfe04bf31a839dbc69617c437f836b2 (diff)
Remove debugging print-out for endpoint checking.
Diffstat (limited to 'tools')
-rw-r--r--tools/gen_usb_descriptor.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gen_usb_descriptor.py b/tools/gen_usb_descriptor.py
index adf0d8270..15bf2daa0 100644
--- a/tools/gen_usb_descriptor.py
+++ b/tools/gen_usb_descriptor.py
@@ -382,7 +382,6 @@ if args.max_ep != 0:
for interface in interfaces:
for subdescriptor in interface.subdescriptors:
endpoint_address = getattr(subdescriptor, 'bEndpointAddress', 0) & 0x7f
- print("Endpoint %d - vs max_ep %d" % (endpoint_address, args.max_ep))
if endpoint_address >= args.max_ep:
raise ValueError("Endpoint address %d of %s must be less than %d" % (endpoint_address & 0x7f, interface.description, args.max_ep))
else: