aboutsummaryrefslogtreecommitdiffstats
path: root/boards/OLIMEX_LPC_P2148/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'boards/OLIMEX_LPC_P2148/board.c')
-rw-r--r--boards/OLIMEX_LPC_P2148/board.c2
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.