summaryrefslogtreecommitdiff
path: root/nuttx/configs/cloudctrl
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-08-12 14:44:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-08-12 14:44:06 -0600
commit3b04d08043742b9e65cf38d45988b35bff91daed (patch)
treeca74e5710a1564da64e94e52b34210f6d8401947 /nuttx/configs/cloudctrl
parentd5cee29af56c68dceeb8e26f6f4081c9d3c66988 (diff)
downloadnuttx-3b04d08043742b9e65cf38d45988b35bff91daed.tar.gz
nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.tar.bz2
nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.zip
First of several changes needed to support multiple USB host root hubs
Diffstat (limited to 'nuttx/configs/cloudctrl')
-rw-r--r--nuttx/configs/cloudctrl/src/up_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/cloudctrl/src/up_usb.c b/nuttx/configs/cloudctrl/src/up_usb.c
index 98f015dee..2407285c5 100644
--- a/nuttx/configs/cloudctrl/src/up_usb.c
+++ b/nuttx/configs/cloudctrl/src/up_usb.c
@@ -109,7 +109,7 @@ static int usbhost_waiter(int argc, char *argv[])
{
/* Wait for the device to change state */
- ret = DRVR_WAIT(g_drvr, connected);
+ ret = DRVR_WAIT(g_drvr, &connected);
DEBUGASSERT(ret == OK);
connected = !connected;
@@ -121,7 +121,7 @@ static int usbhost_waiter(int argc, char *argv[])
{
/* Yes.. enumerate the newly connected device */
- (void)DRVR_ENUMERATE(g_drvr);
+ (void)DRVR_ENUMERATE(g_drvr, 0);
}
}