diff options
| author | hathach <[email protected]> | 2021-06-29 00:14:01 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-06-29 00:14:01 +0700 |
| commit | 36d2214e39605bdcb64ae837ea0aa657d0633512 (patch) | |
| tree | b64913325db80ac386556b9891f1560c8f3e5b3e /examples | |
| parent | c172caa288213535ed5c59cea2c13d0e5b4a0597 (diff) | |
fix warnings
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/hid_app.c | 2 |
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; |
