ibmpc: Increase timeout limit

This keyboard has very slow clocking like 3ms per code.
https://geekhack.org/index.php?topic=115479.msg3101326#msg3101326
This commit is contained in:
tmk 2022-01-10 14:05:18 +09:00
parent ef29dcf1f0
commit c78992790e

View file

@ -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;