diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-19 12:55:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-19 12:55:45 +0000 |
commit | 5a951d58770d9121090087a173973c07fb93bbe7 (patch) | |
tree | 6a9d9bc76f19290a0d6208d8cb8439a089ea393c /boards/OLIMEX_LPC_P2148 | |
parent | 675adde160fba196043bb471ae36a222238db49e (diff) | |
download | ChibiOS-5a951d58770d9121090087a173973c07fb93bbe7.tar.gz ChibiOS-5a951d58770d9121090087a173973c07fb93bbe7.tar.bz2 ChibiOS-5a951d58770d9121090087a173973c07fb93bbe7.zip |
Added a check on PAL enable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2510 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/OLIMEX_LPC_P2148')
-rw-r--r-- | boards/OLIMEX_LPC_P2148/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boards/OLIMEX_LPC_P2148/board.c b/boards/OLIMEX_LPC_P2148/board.c index 45c492cbf..4b9a2205d 100644 --- a/boards/OLIMEX_LPC_P2148/board.c +++ b/boards/OLIMEX_LPC_P2148/board.c @@ -27,6 +27,7 @@ * @details Digital I/O ports static configuration as defined in @p board.h.
* This variable is used by the HAL when initializing the PAL driver.
*/
+#if HAL_USE_PAL || defined(__DOXYGEN__)
const PALConfig pal_default_config =
{
VAL_PINSEL0,
@@ -35,6 +36,7 @@ const PALConfig pal_default_config = {VAL_FIO0PIN, VAL_FIO0DIR},
{VAL_FIO1PIN, VAL_FIO1DIR}
};
+#endif
/*
* Timer 0 IRQ handling here.
|