stm32/stm32_it: Don't call __HAL_USB_HS_EXTI_CLEAR_FLAG on H7 MCUs.

It doesn't exist on these MCUs.
This commit is contained in:
Damien George 2020-01-31 20:49:59 +11:00
parent 257b17ec10
commit 03b73ce329

View File

@ -415,8 +415,10 @@ void OTG_HS_WKUP_IRQHandler(void) {
OTG_CMD_WKUP_Handler(&pcd_hs_handle);
#if !defined(STM32H7)
/* Clear EXTI pending Bit*/
__HAL_USB_HS_EXTI_CLEAR_FLAG();
#endif
IRQ_EXIT(OTG_HS_WKUP_IRQn);
}