aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/other/usb_hid/usbhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/other/usb_hid/usbhid.c')
-rw-r--r--examples/stm32/other/usb_hid/usbhid.c1
1 files changed, 0 insertions, 1 deletions
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);