acassis commented on code in PR #2082:
URL: https://github.com/apache/nuttx-apps/pull/2082#discussion_r1333492910


##########
examples/ina226/ina226_main.c:
##########
@@ -70,7 +71,7 @@ int main(int argc, FAR char *argv[])
           break;
         }
 
-      printf("U=%12u uV I=%12d uA\n", sample.voltage, sample.current);
+      printf("U=%12"PRIu32 "uV I=%12"PRIi32 "uA\n", sample.voltage, 
sample.current);

Review Comment:
   ```suggestion
         printf("U=%12"PRIu32 "uV I=%12"PRIi32 "uA\n", sample.voltage,
                sample.current);



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