aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/stm32
diff options
context:
space:
mode:
authorFrantisek Burian2014-02-13 18:21:16 +0100
committerFrantisek Burian2014-02-13 18:21:16 +0100
commit12aeaad441a251e91ecb48528c6446a7461b435a (patch)
treee60b6d1c26bcba844f0106714636847c670d4ca1 /src/platforms/stm32
parent690e99c6b269bb555d41d0f3f1bfeee0189b8156 (diff)
[locm3] Use the new clock-enabling mechanisms in locm3.
Diffstat (limited to 'src/platforms/stm32')
-rw-r--r--src/platforms/stm32/usbuart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/stm32/usbuart.c b/src/platforms/stm32/usbuart.c
index 7f5ebde..95371dd 100644
--- a/src/platforms/stm32/usbuart.c
+++ b/src/platforms/stm32/usbuart.c
@@ -52,7 +52,7 @@ void usbuart_init(void)
return;
#endif
- rcc_peripheral_enable_clock(&USBUSART_APB_ENR, USBUSART_CLK_ENABLE);
+ rcc_periph_clock_enable(USBUSART_CLK);
UART_PIN_SETUP();