diff options
Diffstat (limited to 'demos/ARMCM4-STM32F373-STM32373C_EVAL/main.c')
-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);
}
}
|