You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/04/13 16:54:01 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #772: nuttx: Fix the nightly build warning

xiaoxiang781216 commented on a change in pull request #772: nuttx: Fix the nightly build warning
URL: https://github.com/apache/incubator-nuttx/pull/772#discussion_r407584983
 
 

 ##########
 File path: arch/mips/src/pic32mx/pic32mx-usbdev.c
 ##########
 @@ -2347,25 +2405,25 @@ static void pic32mx_ep0setup(struct pic32mx_usbdev_s *priv)
   /* At this point, the request has been handled and there are three possible
    * outcomes:
    *
-   * 1. The setup request was successfully handled above and a response packet
-   *    must be sent (may be a zero length packet).
+   * 1. The setup request was successfully handled above and a response
+   *    packet must be sent (may be a zero length packet).
    * 2. The request was successfully handled by the class implementation.  In
-   *    case, the EP0 IN response has already been queued and the local variable
-   *    'dispatched' will be set to true and ctrlstate != CTRLSTATE_STALL;
-   * 3. An error was detected in either the above logic or by the class implementation
-   *    logic.  In either case, priv->state will be set CTRLSTATE_STALL
-   *    to indicate this case.
+   *    variable case, the EP0 IN response has already been queued and the
+   *    local dispatched will be set to true and ctrlstate != CTRLSTATE_STALL
 
 Review comment:
   Yes, I move variable to the wrong location, I will provide a patch fix it.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services