diff options
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/stm32_usb.c')
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/stm32_usb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/stm32_usb.c b/nuttx/configs/stm32f4discovery/src/stm32_usb.c index b1b24511c..7afb60d45 100644 --- a/nuttx/configs/stm32f4discovery/src/stm32_usb.c +++ b/nuttx/configs/stm32f4discovery/src/stm32_usb.c @@ -170,7 +170,10 @@ void stm32_usbinitialize(void) int stm32_usbhost_initialize(void) { int pid; +#if defined(CONFIG_USBHOST_MSC) || defined(CONFIG_USBHOST_HIDKBD) || \ + defined(CONFIG_USBHOST_HIDMOUSE) int ret; +#endif /* First, register all of the class drivers needed to support the drivers * that we care about: |