aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/mb525/fancyblink
diff options
context:
space:
mode:
authorUwe Hermann2011-11-12 10:43:33 +0100
committerUwe Hermann2011-11-12 17:53:04 +0100
commit793bd23851a5319cb634bd18b1ceaa07d1ecd2e6 (patch)
treea561001b3048828e3b0eeadaf69b2eb110833b5e /examples/stm32/f1/mb525/fancyblink
parent905badef24c62d27898b85ef5fb3fe6ab0e13cee (diff)
mb525: Fix coding-style and comments.
Diffstat (limited to 'examples/stm32/f1/mb525/fancyblink')
-rw-r--r--examples/stm32/f1/mb525/fancyblink/README2
-rw-r--r--examples/stm32/f1/mb525/fancyblink/fancyblink.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32/f1/mb525/fancyblink/README b/examples/stm32/f1/mb525/fancyblink/README
index 226cb21..497b689 100644
--- a/examples/stm32/f1/mb525/fancyblink/README
+++ b/examples/stm32/f1/mb525/fancyblink/README
@@ -6,5 +6,5 @@ This is a blink example program using libopencm3.
It's intended for the ST STM32-based MB525 eval board (see
http://www.st.com/stonline/products/literature/um/13472.htm for details).
-It should blink the LED on the board.
+It should blink the LEDs on the board.
diff --git a/examples/stm32/f1/mb525/fancyblink/fancyblink.c b/examples/stm32/f1/mb525/fancyblink/fancyblink.c
index 54ef47c..9efce8f 100644
--- a/examples/stm32/f1/mb525/fancyblink/fancyblink.c
+++ b/examples/stm32/f1/mb525/fancyblink/fancyblink.c
@@ -31,7 +31,7 @@ void clock_setup(void)
void gpio_setup(void)
{
- /* Set GPIO6 (in GPIO port C) to 'output push-pull'. */
+ /* Set GPIO6/7/8/9 (in GPIO port C) to 'output push-pull'. */
gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_50_MHZ,
GPIO_CNF_OUTPUT_PUSHPULL, GPIO6 | GPIO7 | GPIO8 | GPIO9);
}
@@ -43,7 +43,7 @@ int main(void)
clock_setup();
gpio_setup();
- /* Blink the LED (PC12) on the board. */
+ /* Blink the LEDs on the board. */
gpio_set(GPIOC, GPIO6);
while (1) {
gpio_toggle(GPIOC, GPIO6); /* LED on/off */