Describe the PR
I met a racing condition with video examples (strangely I didn't caught it in #2538).
With ISO alloc stm->desc.ep[0] is no longer cleared, tud_video_n_streaming() return true when interface is initializing but usbd_edpt_iso_activate() is not yet called. Resulting usbd_edpt_xfer() called before endpoint is ready.
Describe the PR I met a racing condition with video examples (strangely I didn't caught it in #2538).
With ISO alloc
stm->desc.ep[0]
is no longer cleared,tud_video_n_streaming()
return true when interface is initializing butusbd_edpt_iso_activate()
is not yet called. Resultingusbd_edpt_xfer()
called before endpoint is ready.