summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-02-01 11:18:04 +0700
committerGitHub <[email protected]>2023-02-01 11:18:04 +0700
commitd6354a2aa76ba1e991248faadc53734edce6eeae (patch)
tree15cc7d429dc4c5fe9492a731a11316825d026d0e /examples
parent49628d8c1806fc9bf08e1402c2f8271582c9169a (diff)
parent9b6d6a983a32ecbfe6c5f09e1380549e45abe16f (diff)
Merge pull request #1877 from hathach/fix-host-cdc-without-iad
Fix host cdc without iad
Diffstat (limited to 'examples')
-rw-r--r--examples/device/hid_generic_inout/src/usb_descriptors.c2
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 c2b4792c8..cd4838407 100644
--- a/examples/device/hid_generic_inout/src/usb_descriptors.c
+++ b/examples/device/hid_generic_inout/src/usb_descriptors.c
@@ -103,7 +103,7 @@ uint8_t const desc_configuration[] =
// Config number, interface count, string index, total length, attribute, power in mA
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0x00, 100),
- // Interface number, string index, protocol, report descriptor len, EP In & Out address, size & polling interval
+ // Interface number, string index, protocol, report descriptor len, EP Out & In address, size & polling interval
TUD_HID_INOUT_DESCRIPTOR(ITF_NUM_HID, 0, HID_ITF_PROTOCOL_NONE, sizeof(desc_hid_report), EPNUM_HID, 0x80 | EPNUM_HID, CFG_TUD_HID_EP_BUFSIZE, 10)
};