Commit 579c668f authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Revert "* Compile this file"

This reverts commit a5a5c292
parent 82c81012
......@@ -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
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment