diff options
| author | hathach <[email protected]> | 2019-07-12 14:53:11 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-12 14:53:11 +0700 |
| commit | 164b26ee6bb0a24924e9736178808b676288845e (patch) | |
| tree | e5edbb031350f6283c546e7ce76f9e143a3c9278 /examples/device/hid_generic_inout/src | |
| parent | 3b6013e78f66551e4516db348f3d0f547731c782 (diff) | |
change TUD_HID_INOUT_DESCRIPTOR epout & epin order
clean up, adding template for BOS & BOS platform descriptor
Diffstat (limited to 'examples/device/hid_generic_inout/src')
| -rw-r--r-- | examples/device/hid_generic_inout/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/hid_generic_inout/src/usb_descriptors.c b/examples/device/hid_generic_inout/src/usb_descriptors.c index ced915935..cb7c92a57 100644 --- a/examples/device/hid_generic_inout/src/usb_descriptors.c +++ b/examples/device/hid_generic_inout/src/usb_descriptors.c @@ -85,7 +85,7 @@ uint8_t const desc_configuration[] = TUD_CONFIG_DESCRIPTOR(ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100), // Interface number, string index, protocol, report descriptor len, EP In & Out address, size & polling interval - TUD_HID_INOUT_DESCRIPTOR(ITF_NUM_HID, 0, HID_PROTOCOL_NONE, sizeof(desc_hid_report), 0x80 | EPNUM_HID, EPNUM_HID, CFG_TUD_HID_BUFSIZE, 10) + TUD_HID_INOUT_DESCRIPTOR(ITF_NUM_HID, 0, HID_PROTOCOL_NONE, sizeof(desc_hid_report), EPNUM_HID, 0x80 | EPNUM_HID, CFG_TUD_HID_BUFSIZE, 10) }; |
