Fix bug: Not resuming halted endponts on SET FEATURE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1074 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
fbf99921ff
commit
953a01d0f1
|
@ -1644,6 +1644,7 @@ static inline void lpc214x_ep0setup(struct lpc214x_usbdev_s *priv)
|
|||
(privep = lpc214x_epfindbyaddr(priv, index)) != NULL)
|
||||
{
|
||||
privep->halted = 0;
|
||||
ret = lpc214x_epstall(&privep->ep, TRUE);
|
||||
lpc214x_epwrite(LPC214X_EP0_IN, NULL, 0);
|
||||
priv->ep0state = LPC214X_EP0STATUSIN;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue