aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/usart.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2011-11-16 18:06:20 -0800
committerPiotr Esden-Tempski2011-11-16 18:41:48 -0800
commit8af809a12a26c1c4670627b92807eabb970209c6 (patch)
tree5849d32794cc52c40d48518a21d36b90df51b98c /include/libopencm3/stm32/usart.h
parent679f39426f4806b32fbdc66164575bbfe8347555 (diff)
Reverted the api of the usart_set_baudrate function to hide the clock rail selection again.
Diffstat (limited to 'include/libopencm3/stm32/usart.h')
-rw-r--r--include/libopencm3/stm32/usart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/usart.h b/include/libopencm3/stm32/usart.h
index 51b96f2..df6bc08 100644
--- a/include/libopencm3/stm32/usart.h
+++ b/include/libopencm3/stm32/usart.h
@@ -294,7 +294,7 @@
/* --- Function prototypes ------------------------------------------------- */
-void usart_set_baudrate(u32 usart, u32 baud, u32 clock);
+void usart_set_baudrate(u32 usart, u32 baud);
void usart_set_databits(u32 usart, u32 bits);
void usart_set_stopbits(u32 usart, u32 stopbits);
void usart_set_parity(u32 usart, u32 parity);