summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-01-31 18:42:02 +0700
committerhathach <[email protected]>2023-01-31 18:42:02 +0700
commit9b6d6a983a32ecbfe6c5f09e1380549e45abe16f (patch)
treebcd71482466bdad639cc16a070b82b3b45699642 /examples
parent5f4701bb3e83c8f205c670cfa9cca833b34434d3 (diff)
fix typo issue #1859
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)
};