diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-17 11:22:46 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-17 11:22:46 -0600 |
commit | fbbdc2c1b7f118f592b3c8ffa0832a965685acb5 (patch) | |
tree | 0250a4bd780dceaf3f1c918ce4ccd2378aa63bc9 /nuttx/include/nuttx/usb/usbhost.h | |
parent | 7074c48dc89afd391731446a16d8a519924084d6 (diff) | |
download | nuttx-fbbdc2c1b7f118f592b3c8ffa0832a965685acb5.tar.gz nuttx-fbbdc2c1b7f118f592b3c8ffa0832a965685acb5.tar.bz2 nuttx-fbbdc2c1b7f118f592b3c8ffa0832a965685acb5.zip |
Add logic to register HID keybaord and mouse classes; fix some conditional compilation. From Leo
Diffstat (limited to 'nuttx/include/nuttx/usb/usbhost.h')
-rw-r--r-- | nuttx/include/nuttx/usb/usbhost.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h index 91335d7a6..8c4b67828 100644 --- a/nuttx/include/nuttx/usb/usbhost.h +++ b/nuttx/include/nuttx/usb/usbhost.h @@ -798,6 +798,7 @@ int usbhost_registerclass(struct usbhost_registry_s *class); const struct usbhost_registry_s *usbhost_findclass(const struct usbhost_id_s *id); +#ifdef CONFIG_USBHOST_MSC /**************************************************************************** * Name: usbhost_storageinit * @@ -816,7 +817,9 @@ const struct usbhost_registry_s *usbhost_findclass(const struct usbhost_id_s *id ****************************************************************************/ int usbhost_storageinit(void); +#endif +#ifdef CONFIG_USBHOST_HIDKBD /**************************************************************************** * Name: usbhost_kbdinit * @@ -835,7 +838,9 @@ int usbhost_storageinit(void); ****************************************************************************/ int usbhost_kbdinit(void); +#endif +#ifdef CONFIG_USBHOST_HIDMOUSE /**************************************************************************** * Name: usbhost_mouse_init * @@ -854,6 +859,7 @@ int usbhost_kbdinit(void); ****************************************************************************/ int usbhost_mouse_init(void); +#endif /**************************************************************************** * Name: usbhost_wlaninit |