]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
ibmpc: Fix AT 'request to send' signaling
authortmk <hasu@tmk-kbd.com>
Wed, 13 May 2020 13:32:14 +0000 (22:32 +0900)
committertmk <hasu@tmk-kbd.com>
Wed, 13 May 2020 13:32:14 +0000 (22:32 +0900)
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

index a4b8dfd86d121a88a50243bf5594e063de6828de..c2400dc5b68eaa0bade4bdda10a9e7db985e73c7 100644 (file)
@@ -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