fix class api name
This commit is contained in:
@@ -313,7 +313,7 @@ static int usbh_hub_connect(struct usbh_hubport *hport, uint8_t intf)
|
|||||||
|
|
||||||
struct usbh_hub *hub = usbh_hub_class_alloc();
|
struct usbh_hub *hub = usbh_hub_class_alloc();
|
||||||
if (hub == NULL) {
|
if (hub == NULL) {
|
||||||
USB_LOG_ERR("Fail to alloc cdc_acm_class\r\n");
|
USB_LOG_ERR("Fail to alloc hub_class\r\n");
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ struct usbh_video {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int usbh_video_get_cur(struct usbh_video *video_class, uint8_t request, uint8_t intf, uint8_t entity_id, uint8_t cs, uint8_t *buf, uint16_t len);
|
int usbh_video_get(struct usbh_video *video_class, uint8_t request, uint8_t intf, uint8_t entity_id, uint8_t cs, uint8_t *buf, uint16_t len);
|
||||||
int usbh_video_set_cur(struct usbh_video *video_class, uint8_t request, uint8_t intf, uint8_t entity_id, uint8_t cs, uint8_t *buf, uint16_t len);
|
int usbh_video_set(struct usbh_video *video_class, uint8_t request, uint8_t intf, uint8_t entity_id, uint8_t cs, uint8_t *buf, uint16_t len);
|
||||||
|
|
||||||
int usbh_video_open(struct usbh_video *video_class,
|
int usbh_video_open(struct usbh_video *video_class,
|
||||||
uint8_t format_type,
|
uint8_t format_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user