diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-03 09:13:36 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-03 09:13:36 +0000 |
commit | b92739adaa97353070847f91fe0f7ceb390a693a (patch) | |
tree | 3f6fb21d1de840a0b3f4fe713129b73a4647ddb1 | |
parent | b08ccd70bfe29352067250ae981320c2df500f8f (diff) | |
download | ChibiOS-b92739adaa97353070847f91fe0f7ceb390a693a.tar.gz ChibiOS-b92739adaa97353070847f91fe0f7ceb390a693a.tar.bz2 ChibiOS-b92739adaa97353070847f91fe0f7ceb390a693a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5347 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c b/demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c index e8e2f37ec..121f47e6b 100644 --- a/demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c +++ b/demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c @@ -31,18 +31,18 @@ static msg_t Thread1(void *arg) { (void)arg;
chRegSetThreadName("blinker");
while (TRUE) {
- palSetPad(GPIOE, GPIOC_LED1);
+ palSetPad(GPIOC, GPIOC_LED1);
chThdSleepMilliseconds(250);
- palClearPad(GPIOE, GPIOC_LED1);
- palSetPad(GPIOE, GPIOC_LED2);
+ palClearPad(GPIOC, GPIOC_LED1);
+ palSetPad(GPIOC, GPIOC_LED2);
chThdSleepMilliseconds(250);
- palClearPad(GPIOE, GPIOC_LED2);
- palSetPad(GPIOE, GPIOC_LED3);
+ palClearPad(GPIOC, GPIOC_LED2);
+ palSetPad(GPIOC, GPIOC_LED3);
chThdSleepMilliseconds(250);
- palClearPad(GPIOE, GPIOC_LED3);
- palSetPad(GPIOE, GPIOC_LED4);
+ palClearPad(GPIOC, GPIOC_LED3);
+ palSetPad(GPIOC, GPIOC_LED4);
chThdSleepMilliseconds(250);
- palClearPad(GPIOE, GPIOC_LED4);
+ palClearPad(GPIOC, GPIOC_LED4);
}
}
|