diff options
| author | Ha Thach <[email protected]> | 2023-01-30 11:40:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-30 11:40:53 +0700 |
| commit | 88f3279c3cc0394c81783170413bb0ecd6e0dd43 (patch) | |
| tree | 719ee474bfc8972b56a5d07352bdebaf64d98341 /examples/device/hid_boot_interface | |
| parent | 9f440e5c6946f46d2fa09af1f4c42768ac64ef78 (diff) | |
| parent | 00c007ed685f797776597673f438e7472cbba202 (diff) | |
Merge branch 'master' into port-ft90x
Diffstat (limited to 'examples/device/hid_boot_interface')
| -rw-r--r-- | examples/device/hid_boot_interface/src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/hid_boot_interface/src/main.c b/examples/device/hid_boot_interface/src/main.c index 71afa3f46..ef072019c 100644 --- a/examples/device/hid_boot_interface/src/main.c +++ b/examples/device/hid_boot_interface/src/main.c @@ -157,11 +157,11 @@ void hid_task(void) { uint8_t const report_id = 0; uint8_t const button_mask = 0; - uint8_t const veritical = 0; + uint8_t const vertical = 0; uint8_t const horizontal = 0; int8_t const delta = 5; - tud_hid_n_mouse_report(ITF_NUM_MOUSE, report_id, button_mask, delta, delta, veritical, horizontal); + tud_hid_n_mouse_report(ITF_NUM_MOUSE, report_id, button_mask, delta, delta, vertical, horizontal); } } } @@ -175,7 +175,7 @@ void tud_hid_set_protocol_cb(uint8_t instance, uint8_t protocol) (void) protocol; // nothing to do since we use the same compatible boot report for both Boot and Report mode. - // TOOD set a indicator for user + // TODO set a indicator for user } // Invoked when sent REPORT successfully to host |
