git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
教程介绍和环境搭建 (#19)
[lunaix-os.git]
/
lunaix-os
/
hal
/
term
/
term_io.c
diff --git
a/lunaix-os/hal/term/term_io.c
b/lunaix-os/hal/term/term_io.c
index 729e5496b083bc22e51b2bac9ec1c31f407c0152..8042e3b2eae71859816926bcbf8d420c2f873001 100644
(file)
--- a/
lunaix-os/hal/term/term_io.c
+++ b/
lunaix-os/hal/term/term_io.c
@@
-61,7
+61,6
@@
term_read_noncano(struct term* tdev)
{
struct device* chdev = tdev->chdev;
return do_read_raw(tdev);
{
struct device* chdev = tdev->chdev;
return do_read_raw(tdev);
- ;
}
static int
}
static int
@@
-95,7
+94,7
@@
int
term_flush(struct term* tdev)
{
if ((tdev->oflags & _OPOST)) {
term_flush(struct term* tdev)
{
if ((tdev->oflags & _OPOST)) {
- lcntl_transform_
in
seq(tdev);
+ lcntl_transform_
out
seq(tdev);
}
struct linebuffer* line_out = &tdev->line_out;
}
struct linebuffer* line_out = &tdev->line_out;