diff options
| author | Dan Halbert <halbert@halwitz.org> | 2021-02-12 19:01:14 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2021-02-12 19:01:14 -0500 |
| commit | d54b5861a30b1b1a352e1c22fc67e729ec95390d (patch) | |
| tree | 1bd4349929b88ff41d38014eb0d111237a73db8f /tools | |
| parent | f0564b49862eaef0b9752b62d80ef00e3e12a3ee (diff) | |
wip
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gen_usb_descriptor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen_usb_descriptor.py b/tools/gen_usb_descriptor.py index b056f853a..3f4249f0a 100644 --- a/tools/gen_usb_descriptor.py +++ b/tools/gen_usb_descriptor.py @@ -830,7 +830,6 @@ extern uint16_t const * const string_desc_arr [{string_descriptor_length}]; rhport0_mode="OPT_MODE_DEVICE | OPT_MODE_HIGH_SPEED" if args.highspeed else "OPT_MODE_DEVICE", - hid_num_devices=len(args.hid_devices), msc_vendor=args.manufacturer[:8], msc_product=args.product[:16], ) @@ -844,6 +843,7 @@ extern const uint8_t hid_report_descriptor[{hid_report_descriptor_length}]; #define USB_HID_NUM_DEVICES {hid_num_devices} """.format( hid_report_descriptor_length=len(bytes(combined_hid_report_descriptor)), + hid_num_devices=len(args.hid_devices), ) ) |
