summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-09 13:45:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-09 13:45:18 -0600
commitc62d9e07abd5345ef8f62d2e7ae6f803025ac5c4 (patch)
tree0ed6dfec4a27de22ab4e35948d44102e659db98c /nuttx/arch/arm/src/lpc17xx
parent646cfa00a6c003b9be5a4ba2d4a52ae60b8b4336 (diff)
downloadnuttx-c62d9e07abd5345ef8f62d2e7ae6f803025ac5c4.tar.gz
nuttx-c62d9e07abd5345ef8f62d2e7ae6f803025ac5c4.tar.bz2
nuttx-c62d9e07abd5345ef8f62d2e7ae6f803025ac5c4.zip
Fix a compile error that crept into the LPC17xx USB host driver
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
index 5dbe115f2..6b97e9749 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
@@ -1304,7 +1304,7 @@ static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
else
{
uvdbg("Bad TD completion status: %d\n", EDCTRL->tdstatus);
- ret = ed->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
+ ret = EDCTRL->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
}
}