summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-09 15:54:58 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-09 15:54:58 -0600
commita77ae02c126a5337a321ffdce24f5fe823c3e8c3 (patch)
tree4668d9adcc3c3e107c0e8d372d92dc72502f2ac3 /nuttx/arch/arm/src/lpc17xx
parentb0cbd0bafc929a364eb841d1671c3d83383ec7d5 (diff)
downloadnuttx-a77ae02c126a5337a321ffdce24f5fe823c3e8c3.tar.gz
nuttx-a77ae02c126a5337a321ffdce24f5fe823c3e8c3.tar.bz2
nuttx-a77ae02c126a5337a321ffdce24f5fe823c3e8c3.zip
LPC17 USB Host: Fix a compile error when USB debug is enabled
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 6b97e9749..ab0570604 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
@@ -1603,7 +1603,7 @@ static int lpc17_wait(FAR struct usbhost_connection_s *conn,
static int lpc17_enumerate(FAR struct usbhost_connection_s *conn, int rphndx)
{
struct lpc17_usbhost_s *priv = (struct lpc17_usbhost_s *)&g_usbhost;
- DEBUGASSERT(priv && rhpndx == 0);
+ DEBUGASSERT(priv && rphndx == 0);
/* Are we connected to a device? The caller should have called the wait()
* method first to be assured that a device is connected.