diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-04-26 08:45:49 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-04-26 08:45:49 +0000 |
commit | ae90e9c47b2c0cbd54cf0a07db42228f8237513e (patch) | |
tree | a6a0bc68b9df701ea7568b30b8d6bb64860387bc /demos/STM32/RT-STM32F302R8-NUCLEO | |
parent | 65fb619d2599b714fa212de360dd468326c99ab8 (diff) | |
download | ChibiOS-ae90e9c47b2c0cbd54cf0a07db42228f8237513e.tar.gz ChibiOS-ae90e9c47b2c0cbd54cf0a07db42228f8237513e.tar.bz2 ChibiOS-ae90e9c47b2c0cbd54cf0a07db42228f8237513e.zip |
Fixed RT-STM32F302R8-NUCLEO demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7926 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F302R8-NUCLEO')
-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);
}
}
|