Update stm32f1xx_hal_pcd.c
parent
3dce34c854
commit
0c3112b9c0
|
@ -1027,7 +1027,7 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd)
|
||||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||||
hpcd->SuspendCallback(hpcd);
|
hpcd->SuspendCallback(hpcd);
|
||||||
#else
|
#else
|
||||||
HAL_PCD_SuspendCallback(hpcd);
|
// HAL_PCD_SuspendCallback(hpcd);
|
||||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||||
}
|
}
|
||||||
__HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP);
|
__HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP);
|
||||||
|
|
Loading…
Reference in New Issue