From 54e3c239fcb0a2c71afde8fd920c211dbf0c51c0 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 13 May 2020 22:32:14 +0900 Subject: [PATCH] ibmpc: Fix AT 'request to send' signaling Without this fix Realforce 101 PS/2 fails to receive 'set indicator' command sometimes when pressing Caps Lock and some keys simultaneously. before fix: ____ ______ clock \___/ ________ data \_______ | 100| after fix: ____ __ clock \________/ ________ data \_______ | 100| 100| --- tmk_core/protocol/ibmpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tmk_core/protocol/ibmpc.c b/tmk_core/protocol/ibmpc.c index a4b8dfd8..c2400dc5 100644 --- a/tmk_core/protocol/ibmpc.c +++ b/tmk_core/protocol/ibmpc.c @@ -109,6 +109,7 @@ int16_t ibmpc_host_send(uint8_t data) /* 'Request to Send' and Start bit */ data_lo(); + wait_us(100); clock_hi(); WAIT(clock_lo, 10000, 1); // 10ms [5]p.50 -- 2.47.1