diff options
| author | Bastien Nocera <[email protected]> | 2022-12-04 13:58:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-04 19:43:23 +0700 |
| commit | 6a2cf6728906aa61b44ecfe43b4ceef287b29bf8 (patch) | |
| tree | 51b6d5483c8e7d0f605411c574fc5f8bc9035e05 /examples/device/hid_boot_interface | |
| parent | f24f47d03849874b8c3ad442aa14f6565e205c47 (diff) | |
Fix typos
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 |
