Skip to content

Commit 61ccb56

Browse files
committed
CHH flood fix only for CONTROL endpoints
1 parent 55fa2a6 commit 61ccb56

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/targets/TARGET_STM/USBHALHost_STM.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ void USBHALHost::UsbIrqhandler()
468468
{
469469
for (ch_num = 0; ch_num < hhcd->Init.Host_channels; ch_num++)
470470
{
471-
LogicUint7(USBx_HC(ch_num)->HCINT);
472471
if ((hhcd->hc[ch_num].ep_type == EP_TYPE_CTRL) || (hhcd->hc[ch_num].ep_type == EP_TYPE_BULK))
473472
{
474473
if (USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_NAK)

0 commit comments

Comments
 (0)