/* This function will set usb device interface string description. */
rt_err_t rt_usbd_device_set_interface_string(udevice_t device, int index, const char *string)
/* This function will set usb device interface string description. */
rt_err_t rt_usbd_device_set_interface_string(udevice_t device, int index, const char *string)
{
    RT_ASSERT(device != RT_NULL);
    RT_ASSERT(string != RT_NULL);
    RT_ASSERT(index < MAX_INTF_STR);
    device->str_intf[index] = string;
    return RT_EOK;
}