diff options
| author | HiFiPhile <[email protected]> | 2024-09-08 17:15:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-08 17:15:28 +0200 |
| commit | 7867464694a5889f5974385e962f40c9a064c7b2 (patch) | |
| tree | 39e469aad8c7daa89c62e6a55a70dd1c0f32c8bb /examples/device/hid_boot_interface/src | |
| parent | 6d4e2f6c16e239889195fcfbd81b4d27b6ff1979 (diff) | |
| parent | 3eea46056ea20aa12b73eea7c01d6c6e5b2d490a (diff) | |
Merge branch 'master' into dwc2_dma
Diffstat (limited to 'examples/device/hid_boot_interface/src')
| -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); |
