diff options
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal_usbh.h | 3 | ||||
-rw-r--r-- | os/hal/include/usbh/internal.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/include/hal_usbh.h b/os/hal/include/hal_usbh.h index d686cfd..634520c 100644 --- a/os/hal/include/hal_usbh.h +++ b/os/hal/include/hal_usbh.h @@ -413,9 +413,6 @@ struct usbh_classdriver_vmt { }; struct usbh_classdriverinfo { - int16_t class; - int16_t subclass; - int16_t protocol; const char *name; const usbh_classdriver_vmt_t *vmt; }; diff --git a/os/hal/include/usbh/internal.h b/os/hal/include/usbh/internal.h index 89695f0..f6f17b7 100644 --- a/os/hal/include/usbh/internal.h +++ b/os/hal/include/usbh/internal.h @@ -54,6 +54,9 @@ void _usbh_urb_completeI(usbh_urb_t *urb, usbh_urbstatus_t status); bool _usbh_urb_abortI(usbh_urb_t *urb, usbh_urbstatus_t status);
void _usbh_urb_abort_and_waitS(usbh_urb_t *urb, usbh_urbstatus_t status);
+bool _usbh_match_vid_pid(usbh_device_t *dev, int32_t vid, int32_t pid);
+bool _usbh_match_descriptor(const uint8_t *descriptor, uint16_t rem,
+ int16_t type, int16_t _class, int16_t subclass, int16_t protocol);
#define USBH_REQTYPE_CLASSIN(type) \
(USBH_REQTYPE_DIR_IN | type | USBH_REQTYPE_TYPE_CLASS)
|