aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MSP430-MSP430x1611-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-28 07:42:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-28 07:42:57 +0000
commit950cacebb01b21ad22d9406b48912022e800998a (patch)
tree48fcb1d3578137c34b3ba5e158666de90e180642 /demos/MSP430-MSP430x1611-GCC
parent7ea2ed1e47ae76ff81dbbe1e9494cf7eca6fb561 (diff)
downloadChibiOS-950cacebb01b21ad22d9406b48912022e800998a.tar.gz
ChibiOS-950cacebb01b21ad22d9406b48912022e800998a.tar.bz2
ChibiOS-950cacebb01b21ad22d9406b48912022e800998a.zip
Fixed bug 3581304.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4786 35acf78f-673a-0410-8e92-d51de3d6d3f4
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))