aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f2/usart.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/stm32f2/usart.c')
-rw-r--r--libmaple/stm32f2/usart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmaple/stm32f2/usart.c b/libmaple/stm32f2/usart.c
index 2dd3afc..9a1acf3 100644
--- a/libmaple/stm32f2/usart.c
+++ b/libmaple/stm32f2/usart.c
@@ -107,10 +107,10 @@ usart_dev *USART6 = &usart6;
* Routines
*/
-void usart_async_gpio_cfg(usart_dev *udev,
- gpio_dev *rx_dev, uint8 rx,
- gpio_dev *tx_dev, uint8 tx,
- unsigned flags) {
+void usart_config_gpios_async(usart_dev *udev,
+ gpio_dev *rx_dev, uint8 rx,
+ gpio_dev *tx_dev, uint8 tx,
+ unsigned flags) {
gpio_af af;
/* TODO: break this out into a user-facing function. */
switch (udev->clk_id) {