We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6ffa0 commit b1fa07fCopy full SHA for b1fa07f
components/drivers/usb/usbdevice/core/usbdevice.c
@@ -88,6 +88,13 @@ rt_err_t rt_usb_device_init(const char* udc_name)
88
/* add the class to the configuration */
89
rt_usbd_config_add_class(cfg, cls);
90
#endif
91
+#ifdef RT_USB_DEVICE_RNDIS
92
+ /* create a rndis class object */
93
+ cls = rt_usbd_class_rndis_create(udevice);
94
+
95
+ /* add the class to the configuration */
96
+ rt_usbd_config_add_class(cfg, cls);
97
+#endif
98
99
/* set device descriptor to the device */
100
#ifdef RT_USB_DEVICE_COMPOSITE
0 commit comments