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



##########
File path: arch/arm/src/stm32f7/stm32_can.c
##########
@@ -589,7 +596,7 @@ static void stm32can_reset(FAR struct can_dev_s *dev)
   uint32_t regbit = 0;
   irqstate_t flags;
 
-  caninfo("CAN%d\n", priv->port);
+  caninfo("CAN%" PRId8 "\n", priv->port);

Review comment:
       ```suggestion
     caninfo("CAN%" PRIu8 "\n", priv->port);
   ```
   `priv->port` has type `uint8_t`.




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