From c023e5feeafd8582105b84ee63c2faa4592f874c Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 1 Mar 2020 23:33:29 +0900 Subject: [PATCH] ibmpc_usb: Wait BAT(AA) code forever --- converter/ibmpc_usb/ibmpc_usb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/converter/ibmpc_usb/ibmpc_usb.c b/converter/ibmpc_usb/ibmpc_usb.c index 09987535..951bf988 100644 --- a/converter/ibmpc_usb/ibmpc_usb.c +++ b/converter/ibmpc_usb/ibmpc_usb.c @@ -183,9 +183,11 @@ uint8_t matrix_scan(void) // 2) Read key typed by user or anything after error on protocol or scan code // This can happen in case of keyboard hotswap, unstable hardware, signal integrity problem or bug + /* wait until keyboard sends any code without 10000ms timeout if (timer_elapsed(init_time) > 10000) { state = READ_ID; } + */ if (ibmpc_host_recv() != -1) { // wait for AA xprintf("W%u ", timer_read()); init_time = timer_read(); -- 2.46.2