aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/rtc/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f1/other/rtc/rtc.c')
-rw-r--r--examples/stm32/f1/other/rtc/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f1/other/rtc/rtc.c b/examples/stm32/f1/other/rtc/rtc.c
index 7203e5d..3a086a7 100644
--- a/examples/stm32/f1/other/rtc/rtc.c
+++ b/examples/stm32/f1/other/rtc/rtc.c
@@ -40,7 +40,7 @@ void usart_setup(void)
{
/* Setup GPIO pin GPIO_USART1_TX/GPIO9 on GPIO port A for transmit. */
gpio_set_mode(GPIOA, GPIO_MODE_OUTPUT_50_MHZ,
- GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_USART1_TX);
+ GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_USART1_TX);
/* Setup UART parameters. */
usart_set_baudrate(USART1, 38400, rcc_ppre2_frequency);