[rtems commit] gensh2/console/config.c: Fix to reflect struct termios change

Joel Sherrill joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017


Module:    rtems
Branch:    master
Commit:    bd4072be69c82e7a868f1a2e0726440cde075ed4
Changeset: http://git.rtems.org/rtems/commit/?id=bd4072be69c82e7a868f1a2e0726440cde075ed4

Author:    Joel Sherrill <joel at rtems.org>
Date:      Sun Apr 23 20:03:32 2017 -0500

gensh2/console/config.c: Fix to reflect struct termios change

---

 c/src/lib/libbsp/sh/gensh2/console/config.c | 10 ++++++----
 1 file 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 6d2c7de..a2f2574 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[] = {




More information about the vc mailing list