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
579c668f
Commit
579c668f
authored
May 04, 2018
by
Maxime Perrotin
Browse files
Revert "* Compile this file"
This reverts commit
a5a5c292
parent
82c81012
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/drivers/po_hi_driver_serial_common.h
View file @
579c668f
...
...
@@ -13,6 +13,14 @@
#ifndef __PO_HI_DRIVER_SERIAL_COMMON_H__
#if defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_RECEIVER) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_SENDER) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_RASTA) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LEON) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LEON_SENDER) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LEON_RECEIVER)
#include <po_hi_debug.h>
#include <drivers/configuration/serial.h>
...
...
@@ -35,4 +43,6 @@ int __po_hi_c_driver_serial_common_get_speed (const __po_hi_device_id id);
* valid, it returns __PO_HI_DRIVER_SERIAL_COMMON_SPEED_UNKNWON
*/
#endif
#endif
src/drivers/po_hi_driver_serial_common.c
View file @
579c668f
...
...
@@ -14,6 +14,14 @@
#include <drivers/po_hi_driver_serial_common.h>
#include <drivers/configuration/serial.h>
#if defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_RECEIVER) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_SENDER) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_RASTA) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LEON) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LEON_SENDER) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LEON_RECEIVER)
#include <po_hi_transport.h>
#include <po_hi_debug.h>
...
...
@@ -53,3 +61,5 @@ int __po_hi_c_driver_serial_common_get_speed (const __po_hi_device_id id)
return
__PO_HI_DRIVER_SERIAL_COMMON_SPEED_DEFAULT
;
}
#endif
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