diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.c index 9356a2e64..674fe4639 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.c @@ -842,6 +842,7 @@ int usbh_initialize(uint32_t id, struct usbh_bus *usb) return 0; } +/* TODO: This function will be replaced by usbh_control_transfer_xiuos.*/ int usbh_control_transfer(usbh_pipe_t pipe, struct usb_setup_packet *setup, uint8_t *buffer) { struct usbh_urb *urb; @@ -1073,6 +1074,7 @@ int usbh_get_devaddr(struct usbh_hubport *hport) return dev_addr; } +/* TODO: This function will be replaced by usbh_pipe_free_xiuos.*/ int usbh_pipe_free(usbh_pipe_t pipe) { return 0; diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.h b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.h index e31185baa..3cba17813 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.h +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/core/usbh_core.h @@ -71,6 +71,7 @@ extern "C" { #define CLASS_INFO_DEFINE __attribute__((section("usbh_class_info"))) __USED __ALIGNED(1) #endif +/* TODO: This function will be replaced by usbh_control_urb_fill_xiuos.*/ static inline void usbh_control_urb_fill(struct usbh_urb *urb, usbh_pipe_t pipe, struct usb_setup_packet *setup, @@ -89,6 +90,7 @@ static inline void usbh_control_urb_fill(struct usbh_urb *urb, urb->arg = arg; } +/* TODO: This function will be replaced by usbh_bulk_urb_fill_xiuos.*/ static inline void usbh_bulk_urb_fill(struct usbh_urb *urb, usbh_pipe_t pipe, uint8_t *transfer_buffer, @@ -106,6 +108,7 @@ static inline void usbh_bulk_urb_fill(struct usbh_urb *urb, urb->arg = arg; } +/* TODO: This function will be replaced by usbh_int_urb_fill_xiuos.*/ static inline void usbh_int_urb_fill(struct usbh_urb *urb, usbh_pipe_t pipe, uint8_t *transfer_buffer,