aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/dma_mem2mem/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f1/other/dma_mem2mem/dma.c')
-rw-r--r--examples/stm32/f1/other/dma_mem2mem/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f1/other/dma_mem2mem/dma.c b/examples/stm32/f1/other/dma_mem2mem/dma.c
index ee65db9..fa411db 100644
--- a/examples/stm32/f1/other/dma_mem2mem/dma.c
+++ b/examples/stm32/f1/other/dma_mem2mem/dma.c
@@ -34,7 +34,7 @@ void usart_setup(void)
GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_USART1_TX);
/* Setup UART parameters. */
- usart_set_baudrate(USART1, 115200, rcc_ppre2_frequency);
+ usart_set_baudrate(USART1, 115200);
usart_set_databits(USART1, 8);
usart_set_stopbits(USART1, USART_STOPBITS_1);
usart_set_mode(USART1, USART_MODE_TX_RX);