xiaoxiang781216 commented on a change in pull request #5476:
URL: https://github.com/apache/incubator-nuttx/pull/5476#discussion_r822289728



##########
File path: drivers/usbdev/cdcacm_desc.c
##########
@@ -119,7 +119,7 @@ int cdcacm_mkstrdesc(uint8_t id, struct usb_strdesc_s 
*strdesc)
 {
 #if !defined(CONFIG_CDCACM_COMPOSITE) || defined(CONFIG_CDCACM_NOTIFSTR) || \
      defined(CONFIG_CDCACM_DATAIFSTR)
-
+  uint8_t *data = (uint8_t *)(strdesc + 1);
   const char *str;

Review comment:
       Done.




-- 
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