diff options
| author | HiFiPhile <[email protected]> | 2024-09-01 18:03:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-01 18:03:32 +0200 |
| commit | 12f5a6edbef971506030dc4eebe6ba27c7801a71 (patch) | |
| tree | 8b886e32ea262e66c4c13df65312af244e19047b | |
| parent | 29e025cbf5beb7a8dc5d7c8a86c06b9621c3f762 (diff) | |
| parent | f73964e3e59645757a7311f2b4fe7c1c9d868e12 (diff) | |
Merge pull request #2781 from lurch/patch-1
Fix compiler warning in hid_boot_interface example
| -rw-r--r-- | examples/device/hid_boot_interface/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/hid_boot_interface/src/main.c b/examples/device/hid_boot_interface/src/main.c index 7ad5c53c2..c2aef502d 100644 --- a/examples/device/hid_boot_interface/src/main.c +++ b/examples/device/hid_boot_interface/src/main.c @@ -161,8 +161,8 @@ void hid_task(void) { uint8_t const report_id = 0; uint8_t const button_mask = 0; - uint8_t const vertical = 0; - uint8_t const horizontal = 0; + int8_t const vertical = 0; + int8_t const horizontal = 0; int8_t const delta = 5; tud_hid_n_mouse_report(ITF_NUM_MOUSE, report_id, button_mask, delta, delta, vertical, horizontal); |
