linguini1 commented on code in PR #16941:
URL: https://github.com/apache/nuttx/pull/16941#discussion_r2314095030


##########
arch/arm/src/imxrt/imxrt_usbdev.c:
##########
@@ -871,7 +872,7 @@ static inline void imxrt_set_address(struct imxrt_usbdev_s 
*priv,
 
   imxrt_chgbits(USBDEV_DEVICEADDR_MASK,
                 priv->paddr << USBDEV_DEVICEADDR_SHIFT,
-                IMXRT_USBDEV_DEVICEADDR);
+                IMXRT_USBDEV_DEVICEADDR(0));

Review Comment:
   Maybe I don't understand correctly, but doesn't this implementation now only 
use USB0? Should the register calls be something like 
`IMXRT_USBDEV_DEVICEADDR(priv->usbno)` or something?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to