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:
patacongo 2008-10-24 22:38:10 +00:00
parent fbf99921ff
commit 953a01d0f1
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}