fix class api name

This commit is contained in:
sakumisu
2023-11-13 19:50:04 +08:00
parent d10cbd5daf
commit 5e689dfe15
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}