diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-21 13:11:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-21 13:11:31 +0000 |
commit | b19be5d31de2003c7ff52df43f095a3d498b5bf3 (patch) | |
tree | 00ac99e1917c051f5997ab4030230b87e3d3e3c5 /demos/MSP430-MSP430x1611-GCC/main.c | |
parent | 9d359d8a3b3eb87a58764ac2c696bc10037c480f (diff) | |
download | ChibiOS-b19be5d31de2003c7ff52df43f095a3d498b5bf3.tar.gz ChibiOS-b19be5d31de2003c7ff52df43f095a3d498b5bf3.tar.bz2 ChibiOS-b19be5d31de2003c7ff52df43f095a3d498b5bf3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1102 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/main.c')
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c index 2f9f6d8b9..d52f2bb07 100644 --- a/demos/MSP430-MSP430x1611-GCC/main.c +++ b/demos/MSP430-MSP430x1611-GCC/main.c @@ -19,10 +19,10 @@ #include <ch.h>
#include <pal.h>
+#include <serial.h>
#include <test.h>
#include "board.h"
-#include "msp430_serial.h"
/*
* Red LEDs blinker thread, times are in milliseconds.
@@ -50,6 +50,11 @@ int main(int argc, char **argv) { hwinit();
/*
+ * Activates the communication port 1 using the driver default configuration.
+ */
+ sdStart(&COM1, NULL);
+
+ /*
* The main() function becomes a thread here then the interrupts are
* enabled and ChibiOS/RT goes live.
*/
|