aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/timer_interrupt/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f1/other/timer_interrupt/timer.c')
-rw-r--r--examples/stm32/f1/other/timer_interrupt/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32/f1/other/timer_interrupt/timer.c b/examples/stm32/f1/other/timer_interrupt/timer.c
index b523503..219ed09 100644
--- a/examples/stm32/f1/other/timer_interrupt/timer.c
+++ b/examples/stm32/f1/other/timer_interrupt/timer.c
@@ -30,9 +30,9 @@ void gpio_setup(void)
/* Set GPIO6/7 (in GPIO port B) to 'output push-pull' for the LEDs. */
gpio_set_mode(GPIOB, GPIO_MODE_OUTPUT_2_MHZ,
- GPIO_CNF_OUTPUT_PUSHPULL, GPIO6);
+ GPIO_CNF_OUTPUT_PUSHPULL, GPIO6);
gpio_set_mode(GPIOB, GPIO_MODE_OUTPUT_2_MHZ,
- GPIO_CNF_OUTPUT_PUSHPULL, GPIO7);
+ GPIO_CNF_OUTPUT_PUSHPULL, GPIO7);
}
void nvic_setup(void)