aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/other
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/other
parent6a8eb81480dad08a2fa2729f076fb03c1b337dd4 (diff)
Move enabling the USB Clock into stm32f10x_usbd_init
Diffstat (limited to 'examples/stm32/other')
-rw-r--r--examples/stm32/other/usb_cdcacm/cdcacm.c1
-rw-r--r--examples/stm32/other/usb_dfu/usbdfu.c1
-rw-r--r--examples/stm32/other/usb_hid/usbhid.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/stm32/other/usb_cdcacm/cdcacm.c b/examples/stm32/other/usb_cdcacm/cdcacm.c
index cd701b8..fdc92e2 100644
--- a/examples/stm32/other/usb_cdcacm/cdcacm.c
+++ b/examples/stm32/other/usb_cdcacm/cdcacm.c
@@ -226,7 +226,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_IOPAEN);
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_AFIOEN);
diff --git a/examples/stm32/other/usb_dfu/usbdfu.c b/examples/stm32/other/usb_dfu/usbdfu.c
index 4e83ce0..7ffbc74 100644
--- a/examples/stm32/other/usb_dfu/usbdfu.c
+++ b/examples/stm32/other/usb_dfu/usbdfu.c
@@ -248,7 +248,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_IOPAEN);
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_AFIOEN);
diff --git a/examples/stm32/other/usb_hid/usbhid.c b/examples/stm32/other/usb_hid/usbhid.c
index 459ccbe..8f08aac 100644
--- a/examples/stm32/other/usb_hid/usbhid.c
+++ b/examples/stm32/other/usb_hid/usbhid.c
@@ -240,7 +240,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_IOPAEN);
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_AFIOEN);