diff options
Diffstat (limited to 'boards/OLIMEX_MSP430_P1611/board.c')
-rw-r--r-- | boards/OLIMEX_MSP430_P1611/board.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/boards/OLIMEX_MSP430_P1611/board.c b/boards/OLIMEX_MSP430_P1611/board.c index c81a4d5bc..70534158e 100644 --- a/boards/OLIMEX_MSP430_P1611/board.c +++ b/boards/OLIMEX_MSP430_P1611/board.c @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <signal.h>
-
#include "ch.h"
#include "hal.h"
@@ -52,7 +50,7 @@ const PALConfig pal_default_config = };
#endif
-CH_IRQ_HANDLER(TIMERA0_VECTOR) {
+CH_IRQ_HANDLER(TIMERA0) {
CH_IRQ_PROLOGUE();
@@ -68,6 +66,14 @@ CH_IRQ_HANDLER(TIMERA0_VECTOR) { */
void boardInit(void) {
+#if USE_MSP430_USART0
+ P3SEL |= (1 << 4) | (1 << 5);
+#endif
+
+#if USE_MSP430_USART1
+ P3SEL |= (1 << 6) | (1 << 7);
+#endif
+
/*
* Timer 0 setup, uses SMCLK as source.
*/
|