summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-23 20:03:32 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-24 12:00:55 -0500
commitbd4072be69c82e7a868f1a2e0726440cde075ed4 (patch)
tree8ba2ae8d0b72b1327b0049a6efd38d04bd5d1757
parentuC5282/startup/bspstart.c: Fix printf() format warnings (diff)
downloadrtems-bd4072be69c82e7a868f1a2e0726440cde075ed4.tar.bz2
gensh2/console/config.c: Fix to reflect struct termios change
-rw-r--r--c/src/lib/libbsp/sh/gensh2/console/config.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/console/config.c b/c/src/lib/libbsp/sh/gensh2/console/config.c
index 6d2c7dea2d..a2f25742dd 100644
--- a/c/src/lib/libbsp/sh/gensh2/console/config.c
+++ b/c/src/lib/libbsp/sh/gensh2/console/config.c
@@ -63,19 +63,21 @@ const console_fns sh_sci_fns_polled =
static const struct termios term1 = {
0,
0,
- B9600 | CS8,
0,
0,
- { 0 }
+ {0},
+ B9600 | CS8,
+ B9600 | CS8
};
static const struct termios term2 = {
0,
0,
- B115200 | CS8,
0,
0,
- { 0 }
+ {0},
+ B115200 | CS8,
+ B115200 | CS8
};
console_tbl Console_Configuration_Ports[] = {