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_MSP430_P1611 | |
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_MSP430_P1611')
-rw-r--r-- | boards/OLIMEX_MSP430_P1611/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) {
|