From 9fd0985b9715109ce372ef0c422aa9daa4fcf61e Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 24 Oct 2008 22:38:10 +0000 Subject: 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 --- nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nuttx/arch/arm/src/lpc214x') diff --git a/nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c b/nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c index e6a7c8f0d..de0a5ec0c 100644 --- a/nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c +++ b/nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c @@ -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; } -- cgit v1.2.3