diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-08-14 22:07:19 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-08-14 22:07:19 -0400 |
commit | 7bd1480a3bea4dae25d0bc866eb31a365fc2f77f (patch) | |
tree | f1ef573ceb214fdc59d3e07e68f396d24fbf980b | |
parent | 19e8ea6312f3f60c34c2c20f95fb81306b320f74 (diff) | |
download | seabios-7bd1480a3bea4dae25d0bc866eb31a365fc2f77f.zip seabios-7bd1480a3bea4dae25d0bc866eb31a365fc2f77f.tar.gz seabios-7bd1480a3bea4dae25d0bc866eb31a365fc2f77f.tar.bz2 |
ps2: Remove stale check for timeout warning on reset
Commit 4ce5d207 removed the code to wait for a possible second byte
from a keyboard reset command, but it did not remove the extra check
when warning in ps2_recvbyte(). Remove the now stale code in
ps2_recvbyte().
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/hw/ps2port.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hw/ps2port.c b/src/hw/ps2port.c index d5504f7..d9727d2 100644 --- a/src/hw/ps2port.c +++ b/src/hw/ps2port.c @@ -179,9 +179,7 @@ ps2_recvbyte(int aux, int needack, int timeout) } if (timer_check(end)) { - // Don't warn on second byte of a reset - if (timeout > 100) - warn_timeout(); + warn_timeout(); return -1; } yield(); |