forked from Archive/PX4-Autopilot
otgfsdev: removed a DEBUGASSERT() that causes a crash on windows reconnect
when windows reconnects to a ACM device, this assert sometimes triggered. The case it is looking for is handled further down.
This commit is contained in:
parent
d0122dccfc
commit
a627f6c0eb
|
@ -1512,7 +1512,6 @@ static inline void stm32_ep0out_receive(FAR struct stm32_ep_s *privep, int bcnt)
|
|||
|
||||
DEBUGASSERT(privep && privep->ep.priv);
|
||||
priv = (FAR struct stm32_usbdev_s *)privep->ep.priv;
|
||||
DEBUGASSERT(priv->ep0state == EP0STATE_SETUP_OUT);
|
||||
|
||||
ullvdbg("EP0: bcnt=%d\n", bcnt);
|
||||
usbtrace(TRACE_READ(EP0), bcnt);
|
||||
|
|
Loading…
Reference in New Issue