public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c359e2
)
nc100: Correct tty code
author
Alan Cox
<alan@etchedpixels.co.uk>
Fri, 21 Nov 2014 23:20:11 +0000
(23:20 +0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Fri, 21 Nov 2014 23:20:11 +0000
(23:20 +0000)
Update the nc100 specific tty code to match the new combined terminal structure
Kernel/platform-nc100/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-nc100/devtty.c
b/Kernel/platform-nc100/devtty.c
index
11019be
..
3e030a7
100644
(file)
--- 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)