zyfeier commented on code in PR #8509:
URL: https://github.com/apache/nuttx/pull/8509#discussion_r1103765503


##########
drivers/usbdev/rndis.c:
##########
@@ -2334,9 +2356,17 @@ static int usbclass_setup(FAR struct 
usbdevclass_driver_s *driver,
                   break;
 #endif
 
+#ifdef CONFIG_USBDEV_DUALSPEED
+                case USB_DESC_TYPE_OTHERSPEEDCONFIG:
+#endif /* CONFIG_USBDEV_DUALSPEED */
                 case USB_DESC_TYPE_CONFIG:
                   {
+#ifndef CONFIG_USBDEV_DUALSPEED

Review Comment:
   The speed and type arguments are only available if CONFIG_USBDEV_DUALSPEED 
is defined.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to