aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/stm32-discovery/fancyblink/fancyblink.c
diff options
context:
space:
mode:
authorUwe Hermann2011-02-09 02:38:16 +0100
committerUwe Hermann2011-02-09 02:48:51 +0100
commit1cb45d8888ae922a8c20d9a84bc43de81b45a7b0 (patch)
tree98058934dd7f7a095381b74f721c6869486e01e3 /examples/stm32/stm32-discovery/fancyblink/fancyblink.c
parent5bfffcbb29849bbeb4df2e78b43ca408443196dc (diff)
STM32VLDISCOVERY: Fix some incorrect GPIO comments.
Diffstat (limited to 'examples/stm32/stm32-discovery/fancyblink/fancyblink.c')
-rw-r--r--examples/stm32/stm32-discovery/fancyblink/fancyblink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32/stm32-discovery/fancyblink/fancyblink.c b/examples/stm32/stm32-discovery/fancyblink/fancyblink.c
index afe9041..d40fb7b 100644
--- a/examples/stm32/stm32-discovery/fancyblink/fancyblink.c
+++ b/examples/stm32/stm32-discovery/fancyblink/fancyblink.c
@@ -33,7 +33,7 @@ void clock_setup(void)
void gpio_setup(void)
{
- /* Set GPIO6/7 (in GPIO port C) to 'output push-pull'. */
+ /* Set GPIO8/9 (in GPIO port C) to 'output push-pull'. */
gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_50_MHZ,
GPIO_CNF_OUTPUT_PUSHPULL, GPIO8);
gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_50_MHZ,
@@ -50,7 +50,7 @@ int main(void)
/* Set one LED for wigwag effect when toggling. */
gpio_set(GPIOC, GPIO8);
- /* Blink the LEDs (PC6 and PC7) on the board. */
+ /* Blink the LEDs (PC8 and PC9) on the board. */
while (1) {
gpio_toggle(GPIOC, GPIO8 | GPIO9); /* Toggle LEDs. */
for (i = 0; i < 2000000; i++) /* Wait a bit. */