From 8b338f385b257a49f49333d19267c88f5e22b70e Mon Sep 17 00:00:00 2001 From: "sc943313837@gmail.com" Date: Mon, 26 Nov 2012 12:31:22 +0000 Subject: [PATCH] Add a function affirm git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2451 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/include/drivers/usb_device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/drivers/include/drivers/usb_device.h b/components/drivers/include/drivers/usb_device.h index a6c4afac86..11e69ae033 100644 --- a/components/drivers/include/drivers/usb_device.h +++ b/components/drivers/include/drivers/usb_device.h @@ -159,6 +159,7 @@ uep_t rt_usbd_endpoint_create(uep_desc_t ep_desc, ualtsetting_t rt_usbd_altsetting_create(uintf_desc_t intf_desc, rt_size_t desc_size); rt_err_t rt_usbd_core_init(void); +rt_err_t rt_usb_device_init(const char* udc_name); rt_err_t rt_usbd_post_event(struct udev_msg* msg, rt_size_t size); rt_err_t rt_usbd_free_device(udevice_t device); rt_err_t rt_usbd_device_set_controller(udevice_t device, udcd_t dcd);