mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11103 from desowin/stm32f7-usbhost
STM32F7: Do not generate redundant IN tokenspull/11193/head
commit
174cac7e11
|
@ -969,6 +969,7 @@ static void HCD_HC_IN_IRQHandler (HCD_HandleTypeDef *hhcd, uint8_t chnum)
|
||||||
tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
|
tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
|
||||||
tmpreg |= USB_OTG_HCCHAR_CHENA;
|
tmpreg |= USB_OTG_HCCHAR_CHENA;
|
||||||
USBx_HC(chnum)->HCCHAR = tmpreg;
|
USBx_HC(chnum)->HCCHAR = tmpreg;
|
||||||
|
reactivate = 1;
|
||||||
}
|
}
|
||||||
__HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_CHH);
|
__HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_CHH);
|
||||||
// MBED: changed
|
// MBED: changed
|
||||||
|
|
Loading…
Reference in New Issue