diff options
| author | Ha Thach <[email protected]> | 2024-07-19 21:33:50 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-19 21:33:50 +0700 |
| commit | e9f9d43d67804dc853cd064e8c0e204f2758731f (patch) | |
| tree | 70e7bd203f8e9d3a0bd9a711ebf161cd5c71d61c /examples/host | |
| parent | 9a418317f38a818bd20e8b0a25bb837b0c3c7491 (diff) | |
| parent | 31a979a6cccc2d4dc0a86474643710ae3b7f34fe (diff) | |
Merge pull request #2723 from liamfraser/rp2040_tweaks
RP2040 tweaks
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/hid_app.c | 1 | ||||
| -rw-r--r-- | examples/host/hid_controller/src/hid_app.c | 1 |
2 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 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; diff --git a/examples/host/hid_controller/src/hid_app.c b/examples/host/hid_controller/src/hid_app.c index bff830ca2..6ffe0b6d4 100644 --- a/examples/host/hid_controller/src/hid_app.c +++ b/examples/host/hid_controller/src/hid_app.c @@ -253,6 +253,7 @@ bool diff_report(sony_ds4_report_t const* rpt1, sony_ds4_report_t const* rpt2) void process_sony_ds4(uint8_t const* report, uint16_t len) { + (void)len; const char* dpad_str[] = { "N", "NE", "E", "SE", "S", "SW", "W", "NW", "none" }; // previous report used to compare for changes |
