diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-03 09:28:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-03 09:28:39 +0000 |
commit | 9c9c8ee6e59171cec05caee08b2248cd8d8b122c (patch) | |
tree | fc7d78eeca0dd7fcdfd6bbfa9a2c8b29fd110257 /demos | |
parent | b92739adaa97353070847f91fe0f7ceb390a693a (diff) | |
download | ChibiOS-9c9c8ee6e59171cec05caee08b2248cd8d8b122c.tar.gz ChibiOS-9c9c8ee6e59171cec05caee08b2248cd8d8b122c.tar.bz2 ChibiOS-9c9c8ee6e59171cec05caee08b2248cd8d8b122c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5348 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c b/demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c index 121f47e6b..607b82a1a 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(GPIOC, GPIOC_LED1);
- chThdSleepMilliseconds(250);
palClearPad(GPIOC, GPIOC_LED1);
- palSetPad(GPIOC, GPIOC_LED2);
chThdSleepMilliseconds(250);
+ palSetPad(GPIOC, GPIOC_LED1);
palClearPad(GPIOC, GPIOC_LED2);
- palSetPad(GPIOC, GPIOC_LED3);
chThdSleepMilliseconds(250);
+ palSetPad(GPIOC, GPIOC_LED2);
palClearPad(GPIOC, GPIOC_LED3);
- palSetPad(GPIOC, GPIOC_LED4);
chThdSleepMilliseconds(250);
+ palSetPad(GPIOC, GPIOC_LED3);
palClearPad(GPIOC, GPIOC_LED4);
+ chThdSleepMilliseconds(250);
+ palSetPad(GPIOC, GPIOC_LED4);
}
}
|