diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 12:39:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 12:39:12 +0000 |
commit | 8f1f3036d2d71ae78f523e8ede33548c260034f3 (patch) | |
tree | af52a38c66b24a03737c1cdaefeb03a0dc0d33b6 /os/hal/platforms/Linux/serial_lld.c | |
parent | 58d50c17cd4d54b8323e80f2ee188963aa16010b (diff) | |
download | ChibiOS-8f1f3036d2d71ae78f523e8ede33548c260034f3.tar.gz ChibiOS-8f1f3036d2d71ae78f523e8ede33548c260034f3.tar.bz2 ChibiOS-8f1f3036d2d71ae78f523e8ede33548c260034f3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1477 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/Linux/serial_lld.c')
-rw-r--r-- | os/hal/platforms/Linux/serial_lld.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/os/hal/platforms/Linux/serial_lld.c b/os/hal/platforms/Linux/serial_lld.c index 4d1de5b1f..b94e95039 100644 --- a/os/hal/platforms/Linux/serial_lld.c +++ b/os/hal/platforms/Linux/serial_lld.c @@ -36,6 +36,10 @@ #if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
+/*===========================================================================*/
+/* Driver exported variables. */
+/*===========================================================================*/
+
/** @brief Serial driver 1 identifier.*/
#if USE_SIM_SERIAL1 || defined(__DOXYGEN__)
SerialDriver SD1;
@@ -45,6 +49,10 @@ SerialDriver SD1; SerialDriver SD2;
#endif
+/*===========================================================================*/
+/* Driver local variables. */
+/*===========================================================================*/
+
/** @brief Driver default configuration.*/
static const SerialDriverConfig default_config = {
};
@@ -52,7 +60,7 @@ static const SerialDriverConfig default_config = { static u_long nb = 1;
/*===========================================================================*/
-/* Low Level Driver local functions. */
+/* Driver local functions. */
/*===========================================================================*/
static void init(SerialDriver *sdp, uint16_t port) {
@@ -185,11 +193,11 @@ static bool_t outint(SerialDriver *sdp) { }
/*===========================================================================*/
-/* Low Level Driver interrupt handlers. */
+/* Driver interrupt handlers. */
/*===========================================================================*/
/*===========================================================================*/
-/* Low Level Driver exported functions. */
+/* Driver exported functions. */
/*===========================================================================*/
/**
|