diff options
| author | Gordon McNab <[email protected]> | 2023-01-30 10:06:55 +0000 |
|---|---|---|
| committer | Gordon McNab <[email protected]> | 2023-01-30 10:06:55 +0000 |
| commit | c07fb9a71e5d3e85c8729bf6a8683a4c8b8096be (patch) | |
| tree | 04904901977410aeb5658f1f526ee76b9b6f501e /examples/device/hid_boot_interface | |
| parent | 63e6aea5ac4aed5a7b405a42c888cec66432ee26 (diff) | |
| parent | 6dd40603f92a04d695b78a3ee6c0276525960aef (diff) | |
Merge branch 'port-ft90x' of https://github.com/ftdigdm/tinyusb 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 |
