From 3c7ca5b64bda3b7c98ce021c6e5f7d0a7a708877 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 18 Nov 2024 17:06:17 +0900 Subject: [PATCH] ibmpc_usb: Increase timeout to 10ms https://github.com/tmk/tmk_keyboard/issues/781 --- tmk_core/protocol/ibmpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmk_core/protocol/ibmpc.cpp b/tmk_core/protocol/ibmpc.cpp index 074a20189a..8dcd053c05 100644 --- a/tmk_core/protocol/ibmpc.cpp +++ b/tmk_core/protocol/ibmpc.cpp @@ -226,8 +226,8 @@ void IBMPC::isr(void) if (isr_state == 0x8000) { timer_start = t; } else { - // This gives 2.0ms at least before timeout - if ((uint8_t)(t - timer_start) >= 5) { + // This gives 10ms at least before timeout + if ((uint8_t)(t - timer_start) > 10) { isr_debug = isr_state; error = IBMPC_ERR_TIMEOUT; goto ERROR;