Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-F429ZI_LCDTS_demo_richard
Fork of USBDEVICE by
Diff: USBDevice/TARGET_STM/USBHAL_STM32L476VG.h
- Revision:
- 2:760da2befbf5
- Parent:
- 1:2a3ae13b45ef
--- a/USBDevice/TARGET_STM/USBHAL_STM32L476VG.h	Thu Dec 15 17:40:59 2016 +0100
+++ b/USBDevice/TARGET_STM/USBHAL_STM32L476VG.h	Fri Dec 16 15:12:14 2016 +0000
@@ -121,7 +121,7 @@
     __HAL_RCC_USB_OTG_FS_CLK_ENABLE();
 
     hpcd.State = HAL_PCD_STATE_RESET;
-
+    hpcd.Lock = HAL_UNLOCKED;
     HAL_PCD_Init(&hpcd);
     /* 1.25kbytes */
     /* min value 16 (= 16 x 4 bytes) */
    