diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 08:40:11 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 08:40:11 +0000 |
commit | 544117e9eb5a5ca827f1fbf62814459503b36e9e (patch) | |
tree | 0fa5bc94f3f8939eb1a5f7986136e7048d9d881e /os/io/include/pal.h | |
parent | 3dc0fb372d94f4dc35150be02cc02ce582d55f41 (diff) | |
download | ChibiOS-544117e9eb5a5ca827f1fbf62814459503b36e9e.tar.gz ChibiOS-544117e9eb5a5ca827f1fbf62814459503b36e9e.tar.bz2 ChibiOS-544117e9eb5a5ca827f1fbf62814459503b36e9e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1347 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/include/pal.h')
-rw-r--r-- | os/io/include/pal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/io/include/pal.h b/os/io/include/pal.h index 67bc424b1..2ea625d5e 100644 --- a/os/io/include/pal.h +++ b/os/io/include/pal.h @@ -27,6 +27,8 @@ #ifndef _PAL_H_
#define _PAL_H_
+#if CH_HAL_USE_PAL
+
/**
* @brief Bits in a mode word dedicated as mode selector.
* @details The other bits are not defined and may be used as device-specific
@@ -81,9 +83,7 @@ */
#define PAL_MODE_OUTPUT_OPENDRAIN 7
-#ifndef _PAL_LLD_H_
#include "pal_lld.h"
-#endif
/**
* @brief Logical low state. @@ -464,4 +464,6 @@ extern "C" { #endif /* _PAL_H_ */
+#endif /* CH_HAL_USE_PAL */
+
/** @} */
|