mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 11:33:32 +08:00
[Components][USB]fix a compile error
This commit is contained in:
parent
1fd31983a3
commit
0fcf08ae88
@ -183,7 +183,7 @@ rt_err_t rt_usb_device_init(void)
|
||||
#ifdef RT_USB_DEVICE_COMPOSITE
|
||||
rt_usbd_device_set_descriptor(udevice, &compsit_desc);
|
||||
rt_usbd_device_set_string(udevice, ustring);
|
||||
rt_usbd_device_set_qualifier(device, &dev_qualifier);
|
||||
rt_usbd_device_set_qualifier(udevice, &dev_qualifier);
|
||||
#else
|
||||
rt_usbd_device_set_descriptor(udevice, func->dev_desc);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user