From dbda3de8da7c98c3e1c746070ce0765470bc2d3c Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 21 Nov 2014 23:20:11 +0000 Subject: [PATCH] nc100: Correct tty code Update the nc100 specific tty code to match the new combined terminal structure --- Kernel/platform-nc100/devtty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1