diff --git a/class/hub/usbh_hub.c b/class/hub/usbh_hub.c index 8c084893..930a9ffd 100644 --- a/class/hub/usbh_hub.c +++ b/class/hub/usbh_hub.c @@ -313,7 +313,7 @@ static int usbh_hub_connect(struct usbh_hubport *hport, uint8_t intf) struct usbh_hub *hub = usbh_hub_class_alloc(); 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; } diff --git a/class/video/usbh_video.h b/class/video/usbh_video.h index fe44bf77..3357c14c 100644 --- a/class/video/usbh_video.h +++ b/class/video/usbh_video.h @@ -54,8 +54,8 @@ struct usbh_video { extern "C" { #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_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_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(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, uint8_t format_type,