mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 03:43:35 +08:00
Updates to the PIC32 USB driver (still kind of buggy); Fix for STM32 CAN2 -- Need to enable CAN1 clocking to use CAN2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4493 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -1683,6 +1683,7 @@ static int usbmsc_cmdparsestate(FAR struct usbmsc_dev_s *priv)
|
||||
usbtrace(TRACE_CLSERROR(USBMSC_TRACEERR_CMDPARSEWRREQLISTEMPTY), 0);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
DEBUGASSERT(privreq->req && privreq->req->buf);
|
||||
buf = privreq->req->buf;
|
||||
|
||||
@@ -2332,9 +2333,9 @@ static int usbmsc_cmdfinishstate(FAR struct usbmsc_dev_s *priv)
|
||||
usleep (100000);
|
||||
(void)EP_STALL(priv->epbulkin);
|
||||
|
||||
/* now wait for stall to go away .... */
|
||||
/* now wait for stall to go away .... */
|
||||
|
||||
usleep (100000);
|
||||
usleep (100000);
|
||||
#else
|
||||
(void)EP_STALL(priv->epbulkin);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user