diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-29 07:02:32 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-29 07:02:32 -0600 |
commit | c48eb9ed0ef3ba69825c66cc13a18297ed94e891 (patch) | |
tree | 55ade0874eb7836538436482f6672a4d5c892bc7 /nuttx | |
parent | 8d4e470a77a1f538ad1fa7edd1b85bcc901aa664 (diff) | |
download | nuttx-c48eb9ed0ef3ba69825c66cc13a18297ed94e891.tar.gz nuttx-c48eb9ed0ef3ba69825c66cc13a18297ed94e891.tar.bz2 nuttx-c48eb9ed0ef3ba69825c66cc13a18297ed94e891.zip |
STM32F429i-Disco USB: Strangeness: Conditioned on OTGHS but called otgfs initialize routines. Must be something broken
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/configs/stm32f429i-disco/src/stm32_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/stm32f429i-disco/src/stm32_usb.c b/nuttx/configs/stm32f429i-disco/src/stm32_usb.c index fabe56395..581107046 100644 --- a/nuttx/configs/stm32f429i-disco/src/stm32_usb.c +++ b/nuttx/configs/stm32f429i-disco/src/stm32_usb.c @@ -109,6 +109,7 @@ static int usbhost_waiter(int argc, char *argv[]) ret = CONN_WAIT(g_usbconn, &connected); DEBUGASSERT(ret == OK); + UNUSED(ret); connected = !connected; uvdbg("%s\n", connected ? "connected" : "disconnected"); @@ -185,7 +186,7 @@ int stm32_usbhost_initialize(void) /* Then get an instance of the USB host interface */ uvdbg("Initialize USB host\n"); - g_usbconn = stm32_otgfshost_initialize(0); + g_usbconn = stm32_otghshost_initialize(0); if (g_usbconn) { /* Start a thread to handle device connection. */ @@ -289,4 +290,3 @@ void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) #endif #endif /* CONFIG_STM32_OTGHS */ - |