Skip to content

Commit 02c139f

Browse files
author
Janne Kiiskila
committed
stm32f4xx_hal_pcd.c@346,22: unused variable 'ep'
Compiler warning fix, trivial. One function has an unused variable, delete that line.
1 parent befc833 commit 02c139f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

targets/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_pcd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd)
343343
USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
344344
uint32_t i = 0U, ep_intr = 0U, epint = 0U, epnum = 0U;
345345
uint32_t fifoemptymsk = 0U, temp = 0U;
346-
USB_OTG_EPTypeDef *ep;
347346
uint32_t hclk = 180000000U;
348347

349348
/* ensure that we are in device mode */

0 commit comments

Comments
 (0)