summaryrefslogtreecommitdiff
path: root/examples/device/hid_boot_interface
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-12-04 20:26:59 +0700
committerGitHub <[email protected]>2022-12-04 20:26:59 +0700
commitd6d2499ad6d85cbc5f27a2917c04cca4aa1144ba (patch)
tree09b1e0e015e98c24a9deea490484142f6e013384 /examples/device/hid_boot_interface
parentf24f47d03849874b8c3ad442aa14f6565e205c47 (diff)
parent43b255f413e08b9e567a23b24701efbdaebcb824 (diff)
Merge pull request #1695 from hadess/wip/hadess/fix-typos
Fix typos
Diffstat (limited to 'examples/device/hid_boot_interface')
-rw-r--r--examples/device/hid_boot_interface/src/main.c6
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