aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MSP430-MSP430x1611-GCC
diff options
context:
space:
mode:
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC')
-rw-r--r--demos/MSP430-MSP430x1611-GCC/main.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c
index 00f2fb95c..798875e6a 100644
--- a/demos/MSP430-MSP430x1611-GCC/main.c
+++ b/demos/MSP430-MSP430x1611-GCC/main.c
@@ -55,24 +55,18 @@ int main(void) {
chSysInit();
/*
- * Activates the serial driver 2 using the driver default configuration.
+ * Activates the serial driver 1 using the driver default configuration.
*/
sdStart(&SD1, NULL);
/*
- * The main() function becomes a thread here then the interrupts are
- * enabled and ChibiOS/RT goes live.
- */
- chSysInit();
-
- /*
* Creates the blinker thread.
*/
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
/*
* Normal main() thread activity, in this demo it does nothing except
- * sleeping in a loop.
+ * checking a button and run a test suite if button was pressed.
*/
while (TRUE) {
if (!palReadPad(IOPORT6, P6_I_BUTTON))