aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MSP430-MSP430x1611-GCC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/main.c')
-rw-r--r--demos/MSP430-MSP430x1611-GCC/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c
index 72736fc54..19ffacf7f 100644
--- a/demos/MSP430-MSP430x1611-GCC/main.c
+++ b/demos/MSP430-MSP430x1611-GCC/main.c
@@ -21,6 +21,7 @@
#include <test.h>
#include "board.h"
+#include "msp430_serial.h"
/*
* Red LEDs blinker thread, times are in milliseconds.
@@ -63,8 +64,8 @@ int main(int argc, char **argv) {
* sleeping in a loop.
*/
while (TRUE) {
-// if (!(P6IN & P6_I_BUTTON))
-// TestThread(&COM1);
+ if (!(P6IN & P6_I_BUTTON))
+ TestThread(&COM1);
chThdSleep(500);
}
return 0;