summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorNiklas Hauser <[email protected]>2021-06-21 05:32:43 +0200
committerNiklas Hauser <[email protected]>2021-06-21 05:32:43 +0200
commit264dc35b95a2313201845f3612d3e807afad62c3 (patch)
tree82dbd651d3d4920998e1be422cb0a805c03fbcfb /src/class
parente45b6dbc1c561705a4645baf8a3aab0c2b425621 (diff)
Fix typo in TUH configuration define
Diffstat (limited to 'src/class')
-rw-r--r--src/class/hid/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index cde5e23a5..761258f1b 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -368,7 +368,7 @@ static bool config_get_report_desc(uint8_t dev_addr, tusb_control_request_t cons
// Get Report Descriptor
// using usbh enumeration buffer since report descriptor can be very long
- TU_ASSERT( hid_itf->report_desc_len <= CFG_TUH_ENUMERATION_BUFSZIE );
+ TU_ASSERT( hid_itf->report_desc_len <= CFG_TUH_ENUMERATION_BUFSIZE );
TU_LOG2("HID Get Report Descriptor\r\n");
tusb_control_request_t const new_request =