From c78992790ea3acf4c4f0561e937c792d64c88330 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 10 Jan 2022 14:05:18 +0900 Subject: [PATCH] ibmpc: Increase timeout limit This keyboard has very slow clocking like 3ms per code. https://geekhack.org/index.php?topic=115479.msg3101326#msg3101326 --- tmk_core/protocol/ibmpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/ibmpc.cpp b/tmk_core/protocol/ibmpc.cpp index 95f69e17..744b6621 100644 --- a/tmk_core/protocol/ibmpc.cpp +++ b/tmk_core/protocol/ibmpc.cpp @@ -217,7 +217,7 @@ inline void IBMPC::isr(void) timer_start = t; } else { // This gives 2.0ms at least before timeout - if ((uint8_t)(t - timer_start) >= 3) { + if ((uint8_t)(t - timer_start) >= 5) { isr_debug = isr_state; error = IBMPC_ERR_TIMEOUT; goto ERROR;