summaryrefslogtreecommitdiff
path: root/class
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2023-11-13 19:50:04 +0800
committersakumisu <[email protected]>2023-11-13 19:50:04 +0800
commit5e689dfe1555c1f91572d2da9229ad962fb4dca2 (patch)
treeabe74a8279577810c98fbbeaa162f4cc5fb96f21 /class
parentd10cbd5dafb284e9984e199ce93efa47d65a004c (diff)
fix class api name
Diffstat (limited to 'class')
-rw-r--r--class/hub/usbh_hub.c2
-rw-r--r--class/video/usbh_video.h4
2 files changed, 3 insertions, 3 deletions
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,