Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PolyORB-HI-C
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
PolyORB-HI-C
Commits
916d346f
Commit
916d346f
authored
Nov 07, 2018
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Correct baud rade configuration
For openaadl/ocarina#175
parent
adf08ce5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/drivers/po_hi_driver_rtems_drvmgr_serial.c
src/drivers/po_hi_driver_rtems_drvmgr_serial.c
+2
-1
No files found.
src/drivers/po_hi_driver_rtems_drvmgr_serial.c
View file @
916d346f
...
...
@@ -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
))
{
...
...
@@ -251,6 +250,8 @@ void __po_hi_c_driver_rtems_drvmgr_serial_init (__po_hi_device_id id)
break
;
}
cfmakeraw
(
&
newtio
);
max_size
=
1024
;
#ifdef __PO_HI_MESSAGES_MAX_SIZE
max_size
=
4
*
__PO_HI_MESSAGES_MAX_SIZE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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