From: Alan Cox Date: Mon, 1 Jan 2018 23:15:16 +0000 (+0000) Subject: v65c816-big: fix bug in devtty introduced in peek conversion X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=56c891cc916219b8879e72afe65ccfbf0afaa2a9;p=FUZIX.git v65c816-big: fix bug in devtty introduced in peek conversion --- diff --git a/Kernel/platform-v65c816-big/devtty.c b/Kernel/platform-v65c816-big/devtty.c index 6dbbb005..6117fdf5 100644 --- a/Kernel/platform-v65c816-big/devtty.c +++ b/Kernel/platform-v65c816-big/devtty.c @@ -57,7 +57,7 @@ void tty_poll(void) { uint8_t x; - x = peek(0x21); + x = peek(0x21) & 1 ; if (x) { x = peek(0x20); tty_inproc(1, x);