Merge pull request #11103 from desowin/stm32f7-usbhost

STM32F7: Do not generate redundant IN tokens
pull/11193/head
Martin Kojtal 2019-08-09 11:36:37 +01:00 committed by GitHub
commit 174cac7e11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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_CHENA;
USBx_HC(chnum)->HCCHAR = tmpreg;
reactivate = 1;
}
__HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_CHH);
// MBED: changed