From 5a951d58770d9121090087a173973c07fb93bbe7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 19 Dec 2010 12:55:45 +0000 Subject: Added a check on PAL enable. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2510 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/OLIMEX_MSP430_P1611/board.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'boards/OLIMEX_MSP430_P1611/board.c') diff --git a/boards/OLIMEX_MSP430_P1611/board.c b/boards/OLIMEX_MSP430_P1611/board.c index 558110376..405d0deb7 100644 --- a/boards/OLIMEX_MSP430_P1611/board.c +++ b/boards/OLIMEX_MSP430_P1611/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 = { #if defined(__MSP430_HAS_PORT1__) || defined(__MSP430_HAS_PORT1_R__) @@ -48,6 +49,7 @@ const PALConfig pal_default_config = {VAL_P6OUT, VAL_P6DIR}, #endif }; +#endif CH_IRQ_HANDLER(TIMERA0_VECTOR) { -- cgit v1.2.3