update class driver info,support class driver export

This commit is contained in:
jzlv
2022-03-23 17:15:57 +08:00
parent c44a26d69f
commit 563888ec14
10 changed files with 108 additions and 61 deletions

View File

@@ -34,7 +34,8 @@ struct usbh_hid {
usbh_epinfo_t intout; /* INTR OUT endpoint */
};
extern const struct usbh_class_driver hid_class_driver;
extern const struct usbh_class_info hid_keyboard_class_info;
extern const struct usbh_class_info hid_mouse_class_info;
#ifdef __cplusplus
extern "C" {