Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
a4983ff7
Commit
a4983ff7
authored
Nov 13, 2018
by
Thanassis Tsiodras
Browse files
Julien apparently set the serial speed AFTER he had called cfmakeraw. Fixed.
parent
7f63de69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/drivers/po_hi_driver_rtems_drvmgr_serial.c
View file @
a4983ff7
...
...
@@ -222,7 +222,6 @@ void __po_hi_c_driver_rtems_drvmgr_serial_init (__po_hi_device_id id)
newtio
.
c_lflag
|=
ICANON
;
newtio
.
c_cc
[
VMIN
]
=
1
;
newtio
.
c_cc
[
VTIME
]
=
0
;
cfmakeraw
(
&
newtio
);
switch
(
__po_hi_c_driver_serial_common_get_speed
(
id
))
{
...
...
@@ -250,6 +249,7 @@ void __po_hi_c_driver_rtems_drvmgr_serial_init (__po_hi_device_id id)
__PO_HI_DEBUG_INFO
(
"[LINUX SERIAL] Unknwon speed for the serial line
\n
"
);
break
;
}
cfmakeraw
(
&
newtio
);
max_size
=
1024
;
#ifdef __PO_HI_MESSAGES_MAX_SIZE
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment