From 8b55cb9767ce881b7a22c5af34605ed3a261582d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 27 Aug 2009 16:42:07 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1109 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/MSP430-MSP430x1611-GCC/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'demos/MSP430-MSP430x1611-GCC') diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c index d52f2bb07..02622e817 100644 --- a/demos/MSP430-MSP430x1611-GCC/main.c +++ b/demos/MSP430-MSP430x1611-GCC/main.c @@ -31,9 +31,9 @@ static WORKING_AREA(waThread1, 64); static msg_t Thread1(void *arg) { while (TRUE) { - palSetPad(IOPORT_F, P6_O_LED); + palSetPad(IOPORT6, P6_O_LED); chThdSleepMilliseconds(500); - palClearPad(IOPORT_F, P6_O_LED); + palClearPad(IOPORT6, P6_O_LED); chThdSleepMilliseconds(500); } return 0; @@ -50,9 +50,9 @@ int main(int argc, char **argv) { hwinit(); /* - * Activates the communication port 1 using the driver default configuration. + * Activates the serial driver 2 using the driver default configuration. */ - sdStart(&COM1, NULL); + sdStart(&SD1, NULL); /* * The main() function becomes a thread here then the interrupts are @@ -70,8 +70,8 @@ int main(int argc, char **argv) { * sleeping in a loop. */ while (TRUE) { - if (!palReadPad(IOPORT_F, P6_I_BUTTON)) - TestThread(&COM1); + if (!palReadPad(IOPORT6, P6_I_BUTTON)) + TestThread(&SD1); chThdSleepMilliseconds(500); } return 0; -- cgit v1.2.3