Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
49f0a1f3
Commit
49f0a1f3
authored
May 08, 2018
by
Maxime Perrotin
Browse files
Merge
https://github.com/openaadl/polyorb-hi-c
parents
8b9eb2e6
0b26528f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/drivers/po_hi_driver_serial_common.c
View file @
49f0a1f3
...
...
@@ -19,8 +19,10 @@
int
__po_hi_c_driver_serial_common_get_speed
(
const
__po_hi_device_id
id
)
{
#if __PO_HI_NB_DEVICES > 0
__po_hi_c_serial_conf_t
*
serialconf
;
serialconf
=
(
__po_hi_c_serial_conf_t
*
)
__po_hi_get_device_configuration
(
id
);
switch
(
serialconf
->
speed
)
...
...
@@ -50,6 +52,7 @@ int __po_hi_c_driver_serial_common_get_speed (const __po_hi_device_id id)
return
__PO_HI_DRIVER_SERIAL_COMMON_SPEED_UNKNWON
;
break
;
}
#endif
return
__PO_HI_DRIVER_SERIAL_COMMON_SPEED_DEFAULT
;
}
Write
Preview
Supports
Markdown
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