git://git.gir.st
/
tmk_keyboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2883f
)
core: Fix Oneshot mods key repeat problem #474
author
tmk
<hasu@tmk-kbd.com>
Tue, 30 May 2017 16:15:45 +0000
(
01:15
+0900)
committer
tmk
<hasu@tmk-kbd.com>
Tue, 30 May 2017 16:15:45 +0000
(
01:15
+0900)
tmk_core/protocol/lufa/lufa.c
patch
|
blob
|
blame
|
history
diff --git
a/tmk_core/protocol/lufa/lufa.c
b/tmk_core/protocol/lufa/lufa.c
index 93fe9a2facd586e369a34ef2daf6eefc6525a913..076c8c8d9cf0846f03ef3e5f9fb35119a3b846aa 100644
(file)
--- a/
tmk_core/protocol/lufa/lufa.c
+++ b/
tmk_core/protocol/lufa/lufa.c
@@
-431,7
+431,7
@@
static void send_keyboard(report_keyboard_t *report)
Endpoint_SelectEndpoint(NKRO_IN_EPNUM);
/* Check if write ready for a polling interval around 1ms */
- while (timeout-- && !Endpoint_IsReadWriteAllowed()) _delay_us(
4
);
+ while (timeout-- && !Endpoint_IsReadWriteAllowed()) _delay_us(
8
);
if (!Endpoint_IsReadWriteAllowed()) return;
/* Write Keyboard Report Data */