xiaoxiang781216 commented on code in PR #7472:
URL: https://github.com/apache/incubator-nuttx/pull/7472#discussion_r1018612614


##########
arch/renesas/src/rx65n/rx65n_usbhost.c:
##########
@@ -3001,14 +3003,14 @@ uint16_t usb_hstd_get_pipe_peri_value (uint8_t 
binterval)
       work2 = 0;
       for (; work1 != 0; work2++ )
         {
-                  work1 = (uint16_t)(work1 >> 1);
+                  work1 >>= 1;

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