From: Alan Cox Date: Fri, 21 Nov 2014 23:20:11 +0000 (+0000) Subject: nc100: Correct tty code X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=dbda3de8da7c98c3e1c746070ce0765470bc2d3c;p=FUZIX.git nc100: Correct tty code Update the nc100 specific tty code to match the new combined terminal structure --- diff --git a/Kernel/platform-nc100/devtty.c b/Kernel/platform-nc100/devtty.c index 11019be3..3e030a73 100644 --- a/Kernel/platform-nc100/devtty.c +++ b/Kernel/platform-nc100/devtty.c @@ -111,7 +111,7 @@ void tty_setup(uint8_t minor) uint16_t b; if (minor == 1) return; - b = ttydata[2].c_cflag & CBAUD; + b = ttydata[2].termios.c_cflag & CBAUD; if (b < B150) b = B150; if (b > B19200)