From 950cacebb01b21ad22d9406b48912022e800998a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 28 Oct 2012 07:42:57 +0000 Subject: Fixed bug 3581304. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4786 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/MSP430-MSP430x1611-GCC/main.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'demos/MSP430-MSP430x1611-GCC') 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,16 +55,10 @@ 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. */ @@ -72,7 +66,7 @@ int main(void) { /* * 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)) -- cgit v1.2.3