Skip to content

Commit

Permalink
core: Fix Oneshot mods key repeat problem #474
Browse files Browse the repository at this point in the history
  • Loading branch information
tmk committed May 30, 2017
1 parent ba2883f commit 8cab7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/protocol/lufa/lufa.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 8cab7e6

Please sign in to comment.