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:
parent
ef29dcf1f0
commit
c78992790e
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ inline void IBMPC::isr(void)
|
||||||
timer_start = t;
|
timer_start = t;
|
||||||
} else {
|
} else {
|
||||||
// This gives 2.0ms at least before timeout
|
// 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;
|
isr_debug = isr_state;
|
||||||
error = IBMPC_ERR_TIMEOUT;
|
error = IBMPC_ERR_TIMEOUT;
|
||||||
goto ERROR;
|
goto ERROR;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue