diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-28 07:47:01 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-28 07:47:01 +0000 |
commit | 8d9074541c5740eb7ba9ec8313c5c806718e025f (patch) | |
tree | f103b985604f47b1d6083ff6a9d8b74ecbd53da5 /demos/ARMCM4-STM32F303-DISCOVERY/main.c | |
parent | 950cacebb01b21ad22d9406b48912022e800998a (diff) | |
download | ChibiOS-8d9074541c5740eb7ba9ec8313c5c806718e025f.tar.gz ChibiOS-8d9074541c5740eb7ba9ec8313c5c806718e025f.tar.bz2 ChibiOS-8d9074541c5740eb7ba9ec8313c5c806718e025f.zip |
Fixed bug 3579734.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4787 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F303-DISCOVERY/main.c')
-rw-r--r-- | demos/ARMCM4-STM32F303-DISCOVERY/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/main.c b/demos/ARMCM4-STM32F303-DISCOVERY/main.c index 649d70570..e64196943 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/main.c +++ b/demos/ARMCM4-STM32F303-DISCOVERY/main.c @@ -32,6 +32,7 @@ static msg_t Thread1(void *arg) { (void)arg;
chRegSetThreadName("blinker");
while (TRUE) {
+ /* TODO */
// palSetPad(GPIOD, GPIOD_LED3); /* Orange. */
chThdSleepMilliseconds(500);
// palClearPad(GPIOD, GPIOD_LED3); /* Orange. */
@@ -54,6 +55,8 @@ int main(void) { halInit();
chSysInit();
+ /* TODO: inialize serial driver 1 or 2 */
+
/*
* Creates the example thread.
*/
@@ -62,10 +65,10 @@ int main(void) { /*
* Normal main() thread activity, in this demo it does nothing except
* sleeping in a loop and check the button state, when the button is
- * pressed the test procedure is launched with output on the serial
- * driver 2.
+ * pressed the test procedure is launched.
*/
while (TRUE) {
+ /* TODO */
// if (palReadPad(GPIOA, GPIOA_BUTTON))
// TestThread(&SD2);
chThdSleepMilliseconds(500);
|