mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:04:17 +08:00
Refresh some configurations
This commit is contained in:
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");
|
||||||
|
|||||||
Reference in New Issue
Block a user