From: Alan Cox Date: Wed, 16 May 2018 21:17:34 +0000 (+0100) Subject: trs80: fix baud rate setting on serial X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6b04e0865dcba9b75c9614be8e19709326f6e409;p=FUZIX.git trs80: fix baud rate setting on serial --- diff --git a/Kernel/platform-trs80/devtty.c b/Kernel/platform-trs80/devtty.c index 018a092f..919dcf31 100644 --- a/Kernel/platform-trs80/devtty.c +++ b/Kernel/platform-trs80/devtty.c @@ -146,6 +146,7 @@ void tty_setup(uint8_t minor) ttydata[3].termios.c_cflag |= B19200; baud = B19200; } + baud = trsbaud[baud]; tr1865_baud = baud | (baud << 4); ctrl = 3;