summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/src
diff options
context:
space:
mode:
authorgraham sanderson <[email protected]>2024-07-17 21:08:55 -0500
committerLiam Fraser <[email protected]>2024-07-18 11:11:06 +0100
commit31a979a6cccc2d4dc0a86474643710ae3b7f34fe (patch)
treeae7bc5ac9afbc9c4d255af8495d017fa603e3a4f /examples/host/cdc_msc_hid/src
parent5f6152a87e2a2fd07ed0cdbf6cf2300cb4fc6342 (diff)
fix some clang compiler warnings
Diffstat (limited to 'examples/host/cdc_msc_hid/src')
-rw-r--r--examples/host/cdc_msc_hid/src/hid_app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/host/cdc_msc_hid/src/hid_app.c b/examples/host/cdc_msc_hid/src/hid_app.c
index f0d42a08f..6bb3a2072 100644
--- a/examples/host/cdc_msc_hid/src/hid_app.c
+++ b/examples/host/cdc_msc_hid/src/hid_app.c
@@ -235,6 +235,7 @@ static void process_mouse_report(hid_mouse_report_t const * report)
static void process_generic_report(uint8_t dev_addr, uint8_t instance, uint8_t const* report, uint16_t len)
{
(void) dev_addr;
+ (void) len;
uint8_t const rpt_count = hid_info[instance].report_count;
tuh_hid_report_info_t* rpt_info_arr = hid_info[instance].report_info;