Skip to content

Commit 6154fd2

Browse files
committed
F3 ST CUBE V1.9.0: remove pcd patch
The Lock field is no more available in PCD structure.
1 parent ccf71f0 commit 6154fd2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

targets/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_hal_pcd.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,6 @@ HAL_StatusTypeDef HAL_PCD_Init(PCD_HandleTypeDef *hpcd)
154154
{
155155
/* Allocate lock resource and initialize it */
156156
hpcd->Lock = HAL_UNLOCKED;
157-
158-
// MBED patch
159-
for (i = 0; i < hpcd->Init.dev_endpoints ; i++)
160-
hpcd->EPLock[i].Lock = HAL_UNLOCKED;
161-
162157
/* Init the low level hardware : GPIO, CLOCK, NVIC... */
163158
HAL_PCD_MspInit(hpcd);
164159
}

0 commit comments

Comments
 (0)