diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-10-24 22:38:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-10-24 22:38:10 +0000 |
commit | 9fd0985b9715109ce372ef0c422aa9daa4fcf61e (patch) | |
tree | 8b9d8522f744f0d8c36efb2c1cb024bfade8393f /nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c | |
parent | dac0c2a3a403fc671a0f8367cf2a8da703520e24 (diff) | |
download | px4-nuttx-9fd0985b9715109ce372ef0c422aa9daa4fcf61e.tar.gz px4-nuttx-9fd0985b9715109ce372ef0c422aa9daa4fcf61e.tar.bz2 px4-nuttx-9fd0985b9715109ce372ef0c422aa9daa4fcf61e.zip |
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
Diffstat (limited to 'nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc214x/lpc214x_usbdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |