gustavonihei commented on a change in pull request #3161:
URL: https://github.com/apache/incubator-nuttx/pull/3161#discussion_r601298434



##########
File path: arch/arm/src/stm32f7/stm32_adc.c
##########
@@ -735,7 +735,7 @@ static int adc_timinit(FAR struct stm32_dev_s *priv)
    *   position.
    */
 
-  ainfo("Initializing timers extsel = 0x%08x\n", priv->extsel);
+  ainfo("Initializing timers extsel = 0x%08lx\n", priv->extsel);

Review comment:
       ```suggestion
     ainfo("Initializing timers extsel = 0x%08" PRIx32 " \n", priv->extsel);
   ```
   Since you are fixing this, the most correct fix is to use the format 
specfiers from `inttypes.h`.




-- 
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:
[email protected]


Reply via email to