Refresh some configurations

This commit is contained in:
Gregory Nutt
2015-04-09 15:14:21 -06:00
parent 5642522a6c
commit 6823bd6327
3 changed files with 628 additions and 256 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -45,9 +45,11 @@
#include <sched.h> #include <sched.h>
#include <errno.h> #include <errno.h>
#include <debug.h> #include <debug.h>
#include <nuttx/usb/usbdev.h> #include <nuttx/usb/usbdev.h>
#include <nuttx/usb/usbhost.h> #include <nuttx/usb/usbhost.h>
#include <nuttx/usb/usbdev_trace.h> #include <nuttx/usb/usbdev_trace.h>
#include "stm32.h" #include "stm32.h"
#include "stm32_otgfs.h" #include "stm32_otgfs.h"
#include "olimex-stm32-p207.h" #include "olimex-stm32-p207.h"
@@ -106,6 +108,7 @@ static int usbhost_waiter(int argc, char *argv[])
ret = CONN_WAIT(g_usbconn, &connected); ret = CONN_WAIT(g_usbconn, &connected);
DEBUGASSERT(ret == OK); DEBUGASSERT(ret == OK);
UNUSED(ret);
connected = !connected; connected = !connected;
uvdbg("%s\n", connected ? "connected" : "disconnected"); uvdbg("%s\n", connected ? "connected" : "disconnected");