TimJTi commented on code in PR #7761:
URL: https://github.com/apache/nuttx/pull/7761#discussion_r1038373118


##########
arch/arm/src/sama5/sam_tc.c:
##########
@@ -1451,7 +1452,8 @@ int sam_tc_divisor(uint32_t frequency, uint32_t *div, 
uint32_t *tcclks)
 
   if (tcclks)
     {
-      tmrinfo("return tcclks=%08lx\n", (unsigned long)TC_CMR_TCCLKS(ndx));
+      tmrinfo("return tcclks=%08" PRIx32 "\n",

Review Comment:
   seems very inconsistent to me to sometimes recast and sometimes use a macro?



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