diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-10-12 10:04:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-10-12 10:04:26 +0000 |
commit | ae8b38ea55f4d798d5313666194a7280053f460f (patch) | |
tree | f10c98030f2ab7f189b3315fc14f70bc8bd1abc6 /demos/MSP430-MSP430x1611-GCC/board.c | |
parent | b4143002333b4d1ffdd4caa0f717d3e8485ebd62 (diff) | |
download | ChibiOS-ae8b38ea55f4d798d5313666194a7280053f460f.tar.gz ChibiOS-ae8b38ea55f4d798d5313666194a7280053f460f.tar.bz2 ChibiOS-ae8b38ea55f4d798d5313666194a7280053f460f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@461 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/board.c')
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/board.c b/demos/MSP430-MSP430x1611-GCC/board.c index caef10720..e6ae187da 100644 --- a/demos/MSP430-MSP430x1611-GCC/board.c +++ b/demos/MSP430-MSP430x1611-GCC/board.c @@ -21,6 +21,7 @@ #include <signal.h>
#include "board.h"
+#include "msp430_serial.h"
/*
* Hardware initialization goes here.
@@ -77,6 +78,11 @@ void hwinit(void) { TACTL = TACLR; /* Clean start. */
TACTL = TASSEL_2 | MC_1; /* Src=SMCLK, cmp=TACCR0. */
TACCTL0 = CCIE; /* Interrupt on compare. */
+
+ /*
+ * Other subsystems.
+ */
+ InitSerial();
}
interrupt(TIMERA0_VECTOR) tmr0irq(void) {
|