summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-29 00:14:01 +0700
committerhathach <[email protected]>2021-06-29 00:14:01 +0700
commit36d2214e39605bdcb64ae837ea0aa657d0633512 (patch)
treeb64913325db80ac386556b9891f1560c8f3e5b3e /examples/host/cdc_msc_hid/src
parentc172caa288213535ed5c59cea2c13d0e5b4a0597 (diff)
fix warnings
Diffstat (limited to 'examples/host/cdc_msc_hid/src')
-rw-r--r--examples/host/cdc_msc_hid/src/hid_app.c2
1 files changed, 2 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 fd00cf653..420600f9a 100644
--- a/examples/host/cdc_msc_hid/src/hid_app.c
+++ b/examples/host/cdc_msc_hid/src/hid_app.c
@@ -217,6 +217,8 @@ 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;
+
uint8_t const rpt_count = hid_info[instance].report_count;
tuh_hid_report_info_t* rpt_info_arr = hid_info[instance].report_info;
tuh_hid_report_info_t* rpt_info = NULL;