mirror of https://github.com/ARMmbed/mbed-os.git
Added code to ignore ZLP packets on the ISOOUT endpoint... not fixing issue yet
parent
d3844a181c
commit
dde7bffb87
|
@ -467,7 +467,18 @@ void USBPhyHw::process() {
|
|||
events->ep0_out();
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO - this may impact valid ZLP transfers
|
||||
// on the ISOOUT endpoint
|
||||
// If ISOOUT endpoint transaction occurred
|
||||
// and the ZERO bit of SIZE.ISOOUT is set...
|
||||
// ignore it for now... possible hardware bug?
|
||||
if((usb_event.data.eptransfer.ep == NRF_DRV_USBD_EPOUT8)
|
||||
&& (NRF_USBD->SIZE.ISOOUT & (1 << 16)))
|
||||
break;
|
||||
|
||||
events->out((usb_ep_t) usb_event.data.eptransfer.ep);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue