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


##########
arch/arm/src/phy62xx/mcu.h:
##########
@@ -82,7 +82,7 @@
 #define subWriteReg(addr,high,low,value) write_reg(addr, ((read_reg(addr)) & 
(~((((unsigned int)1<<((high)-(low)+1))-1)<<(low)))) | ((unsigned 
int)(value)<<(low)))
 
 #define TIME_BASE               (0x003fffff) /* 24bit count shift 2 bit as 
1us/bit */
-#define TIME_DELTA(x,y)         ( (x>=y) ? x-y : TIME_BASE-y+x )
+#define TIME_DELTA(x,y)         ((x>=y) ? x-y : TIME_BASE-y+x)

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