pkarashchenko commented on code in PR #8613:
URL: https://github.com/apache/nuttx/pull/8613#discussion_r1113406874
##########
arch/arm/src/samv7/sam_qspi.c:
##########
@@ -1089,7 +1089,7 @@ static uint32_t qspi_setfrequency(struct qspi_dev_s *dev,
uint32_t frequency)
#endif
uint32_t regval;
- spiinfo("frequency=%d\n", frequency);
+ spiinfo("frequency=%"PRId32"\n", frequency);
Review Comment:
`PRIu32` would be a better candidate for unsigned types.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]