We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac6935 commit 24bd8baCopy full SHA for 24bd8ba
system/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c
@@ -1364,6 +1364,7 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd)
1364
ep->pending1 = (uint16_t) (count == 0 ? PCD_PENDED_ZLP : count);
1365
return HAL_OK;
1366
}
1367
+ ep->pending0 = 0;
1368
1369
else
1370
{
@@ -1374,14 +1375,6 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd)
1374
1375
ep->pending0 = (uint16_t) (count == 0 ? PCD_PENDED_ZLP : count);
1376
1377
- }
1378
-
1379
- if (PCD_OUT_SW(wEPVal))
1380
- {
1381
- ep->pending0 = 0;
1382
1383
- else
1384
1385
ep->pending1 = 0;
1386
1387
0 commit comments