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 2022/12/02 17:37:47 UTC

[GitHub] [nuttx] TimJTi commented on a diff in pull request #7761: Corrections

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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org