Skip to content

Commit 174cac7

Browse files
authored
Merge pull request #11103 from desowin/stm32f7-usbhost
STM32F7: Do not generate redundant IN tokens
2 parents 9b43736 + b9c4076 commit 174cac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_hcd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ static void HCD_HC_IN_IRQHandler (HCD_HandleTypeDef *hhcd, uint8_t chnum)
969969
tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
970970
tmpreg |= USB_OTG_HCCHAR_CHENA;
971971
USBx_HC(chnum)->HCCHAR = tmpreg;
972+
reactivate = 1;
972973
}
973974
__HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_CHH);
974975
// MBED: changed

0 commit comments

Comments
 (0)