From: tmk Date: Tue, 30 May 2017 16:15:45 +0000 (+0900) Subject: core: Fix Oneshot mods key repeat problem #474 X-Git-Url: https://git.gir.st/tmk_keyboard.git/commitdiff_plain/8cab7e60a5400590edcaca29cbc91f568e15fe36 core: Fix Oneshot mods key repeat problem #474 --- diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 93fe9a2f..076c8c8d 100644 --- 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 */