diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-03-20 11:06:33 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2013-05-04 19:16:13 +1000 |
commit | a627f6c0eba3cfb0471b0ff88652d85c6d7cb0ca (patch) | |
tree | 6356dcf573a1b2b6c3886276e380690674ac9b14 /nuttx/arch/arm | |
parent | d0122dccfc28869414f0e9cd2cb1d9f131c3fd20 (diff) | |
download | px4-firmware-a627f6c0eba3cfb0471b0ff88652d85c6d7cb0ca.tar.gz px4-firmware-a627f6c0eba3cfb0471b0ff88652d85c6d7cb0ca.tar.bz2 px4-firmware-a627f6c0eba3cfb0471b0ff88652d85c6d7cb0ca.zip |
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.
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_otgfsdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfsdev.c b/nuttx/arch/arm/src/stm32/stm32_otgfsdev.c index 2c9ae4cac..0fcd463e0 100644 --- a/nuttx/arch/arm/src/stm32/stm32_otgfsdev.c +++ b/nuttx/arch/arm/src/stm32/stm32_otgfsdev.c @@ -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); |