diff options
Diffstat (limited to 'demos/STM32')
-rw-r--r-- | demos/STM32/RT-STM32F302R8-NUCLEO/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO/main.c b/demos/STM32/RT-STM32F302R8-NUCLEO/main.c index bd50f191d..c5c191ce4 100644 --- a/demos/STM32/RT-STM32F302R8-NUCLEO/main.c +++ b/demos/STM32/RT-STM32F302R8-NUCLEO/main.c @@ -27,9 +27,9 @@ static THD_FUNCTION(Thread1, arg) { (void)arg;
chRegSetThreadName("blinker");
while (true) {
- palClearPad(GPIOA, GPIOA_LED_GREEN);
+ palClearPad(GPIOB, GPIOB_LED_GREEN);
chThdSleepMilliseconds(500);
- palSetPad(GPIOA, GPIOA_LED_GREEN);
+ palSetPad(GPIOB, GPIOB_LED_GREEN);
chThdSleepMilliseconds(500);
}
}
|