Fix invalid syntax error

crypto-aes
Kamil Tomaszewski 3 years ago
parent f6e553f89f
commit 810d802ca8
  1. 2
      tools/gen_usb_descriptor.py

@ -73,7 +73,7 @@ if not args.renumber_endpoints:
raise ValueError("CDC notification endpoint number must not be 0")
elif args.cdc_ep_num_data_out == 0:
raise ValueError("CDC data OUT endpoint number must not be 0")
elif args.cdc_ep_num_data_in == 0):
elif args.cdc_ep_num_data_in == 0:
raise ValueError("CDC data IN endpoint number must not be 0")
if 'MSC' in args.devices:

Loading…
Cancel
Save