xiaoxiang781216 commented on code in PR #8479:
URL: https://github.com/apache/nuttx/pull/8479#discussion_r1100539762


##########
arch/arm/src/sama5/sam_udphs.c:
##########
@@ -2650,27 +2650,32 @@ static void sam_ep_interrupt(struct sam_usbdev_s *priv, 
int epno)
           /* Get the size that we expected to receive */
 
           len = GETUINT16(priv->ctrl.len);
-          if (len == pktsize)
+
+          /* Copy the OUT data from the EP0 FIFO into the special EP0 buffer. 
*/

Review Comment:
   Please fix the style issue



##########
arch/arm/src/sama5/sam_udphs.c:
##########
@@ -2650,27 +2650,32 @@ static void sam_ep_interrupt(struct sam_usbdev_s *priv, 
int epno)
           /* Get the size that we expected to receive */
 
           len = GETUINT16(priv->ctrl.len);
-          if (len == pktsize)
+
+          /* Copy the OUT data from the EP0 FIFO into the special EP0 buffer. 
*/

Review Comment:
   Please fix the style issue @TimJTi 



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