[HAL][USB] Ensure to reactivate the usb channel in case of transfer error
diff --git a/Src/stm32h7xx_hal_hcd.c b/Src/stm32h7xx_hal_hcd.c index 12d2714..e1fbd00 100644 --- a/Src/stm32h7xx_hal_hcd.c +++ b/Src/stm32h7xx_hal_hcd.c
@@ -1694,7 +1694,7 @@ { hhcd->hc[chnum].urb_state = URB_NOTREADY; - /* re-activate the channel */ + /* Re-activate the channel */ tmpreg = USBx_HC(chnum)->HCCHAR; tmpreg &= ~USB_OTG_HCCHAR_CHDIS; tmpreg |= USB_OTG_HCCHAR_CHENA;