diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-12 14:44:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-12 14:44:06 -0600 |
commit | 3b04d08043742b9e65cf38d45988b35bff91daed (patch) | |
tree | ca74e5710a1564da64e94e52b34210f6d8401947 /nuttx/configs/pic32mx7mmb | |
parent | d5cee29af56c68dceeb8e26f6f4081c9d3c66988 (diff) | |
download | px4-nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.tar.gz px4-nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.tar.bz2 px4-nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.zip |
First of several changes needed to support multiple USB host root hubs
Diffstat (limited to 'nuttx/configs/pic32mx7mmb')
-rw-r--r-- | nuttx/configs/pic32mx7mmb/src/up_nsh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/pic32mx7mmb/src/up_nsh.c b/nuttx/configs/pic32mx7mmb/src/up_nsh.c index 37ecc3095..5e59af564 100644 --- a/nuttx/configs/pic32mx7mmb/src/up_nsh.c +++ b/nuttx/configs/pic32mx7mmb/src/up_nsh.c @@ -196,7 +196,7 @@ static int nsh_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; @@ -208,7 +208,7 @@ static int nsh_waiter(int argc, char *argv[]) { /* Yes.. enumerate the newly connected device */ - (void)DRVR_ENUMERATE(g_drvr); + (void)DRVR_ENUMERATE(g_drvr, 0); } } |