add usbh_get_string_desc api

This commit is contained in:
sakumisu
2023-11-04 15:22:36 +08:00
parent 0738c09a4d
commit c37c60c7c7
2 changed files with 49 additions and 43 deletions

View File

@@ -170,6 +170,7 @@ struct usbh_hub {
};
int usbh_hport_activate_epx(usbh_pipe_t *pipe, struct usbh_hubport *hport, struct usb_endpoint_descriptor *ep_desc);
int usbh_get_string_desc(struct usbh_hubport *hport, uint8_t index, uint8_t *output);
/**
* @brief Submit an control transfer to an endpoint.