aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c
diff options
context:
space:
mode:
authorUwe Bonnes2011-07-05 18:40:34 +0200
committerUwe Hermann2011-07-13 10:04:03 +0200
commit32c276a7084141ea0e65f1fa4cd92146251958d6 (patch)
tree2926fa8d32c786a77230cbc0ec823b80e1a1a222 /examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c
parent6a8eb81480dad08a2fa2729f076fb03c1b337dd4 (diff)
Move enabling the USB Clock into stm32f10x_usbd_init
Diffstat (limited to 'examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c')
-rw-r--r--examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c b/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c
index fe1f542..4b90640 100644
--- a/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c
+++ b/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c
@@ -228,7 +228,6 @@ int main(void)
rcc_clock_setup_in_hsi_out_48mhz();
- rcc_peripheral_enable_clock(&RCC_APB1ENR, RCC_APB1ENR_USBEN);
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPCEN);
gpio_set(GPIOC, GPIO11);