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/EA_LPCXPRESSO_BB_1114 | |
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/EA_LPCXPRESSO_BB_1114')
-rw-r--r-- | boards/EA_LPCXPRESSO_BB_1114/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boards/EA_LPCXPRESSO_BB_1114/board.c b/boards/EA_LPCXPRESSO_BB_1114/board.c index 68e8efc05..cb9116eed 100644 --- a/boards/EA_LPCXPRESSO_BB_1114/board.c +++ b/boards/EA_LPCXPRESSO_BB_1114/board.c @@ -25,12 +25,14 @@ * @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_GPIO0DATA, VAL_GPIO0DIR},
{VAL_GPIO1DATA, VAL_GPIO1DIR},
{VAL_GPIO2DATA, VAL_GPIO2DIR},
{VAL_GPIO3DATA, VAL_GPIO3DIR},
};
+#endif
/*
* Early initialization code.
|