summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-05-10 22:56:06 +0700
committerhathach <[email protected]>2022-05-10 22:56:06 +0700
commit8473ca16fb74edcb32a050ef087d5f30f50c599b (patch)
tree8cbf3f5101f6768f2df137ebc00114a9ac73168c /examples
parent35b77a4a81b62da0558630a7148fb3934faa4391 (diff)
clean up
Diffstat (limited to 'examples')
-rw-r--r--examples/dual/host_hid_to_device_cdc/src/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/dual/host_hid_to_device_cdc/src/main.c b/examples/dual/host_hid_to_device_cdc/src/main.c
index cc811cd71..c05d65c9e 100644
--- a/examples/dual/host_hid_to_device_cdc/src/main.c
+++ b/examples/dual/host_hid_to_device_cdc/src/main.c
@@ -176,9 +176,6 @@ void tuh_hid_umount_cb(uint8_t dev_addr, uint8_t instance)
printf("[%u] HID Interface instance = %d is unmounted\r\n", dev_addr, instance);
}
-// keycodes from last report to check if key is holding or newly pressed
-uint8_t last_keycodes[6] = {0};
-
// look up new key in previous keys
static inline bool find_key_in_report(hid_keyboard_report_t const *report, uint8_t keycode)
{