You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2021/05/05 12:33:09 UTC

[incubator-nuttx] 03/03: drivers/timers/pwm.c: fix compilation warnings

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit a74ea51aaec716a56b1e1d5d1d2f88db60ca4e4f
Author: raiden00pl <ra...@railab.me>
AuthorDate: Wed May 5 09:20:52 2021 +0200

    drivers/timers/pwm.c: fix compilation warnings
---
 drivers/timers/pwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/timers/pwm.c b/drivers/timers/pwm.c
index 257ff11..0b2f02e 100644
--- a/drivers/timers/pwm.c
+++ b/drivers/timers/pwm.c
@@ -131,7 +131,7 @@ static void pwm_dump(FAR const char *msg, FAR const struct pwm_info_s *info,
 #endif
 
 #ifdef CONFIG_PWM_PULSECOUNT
-  pwminfo(" count: %d\n", info->count);
+  pwminfo(" count: %" PRIx32 "\n", info->count);
 #endif
 
   pwminfo(" started: %d\n", started);