From: tmk Date: Sun, 1 Mar 2020 14:33:29 +0000 (+0900) Subject: ibmpc_usb: Wait BAT(AA) code forever X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c023e5feeafd8582105b84ee63c2faa4592f874c;p=max%2Ftmk_keyboard.git ibmpc_usb: Wait BAT(AA) code forever --- 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();