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

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

commit 89183fec009ad5e27095247633da124833314292
Author: YAMAMOTO Takashi <yamam...@midokura.com>
AuthorDate: Thu Nov 26 06:54:32 2020 +0900

    drivers/timers/pwm.c: Fix a syslog format
---
 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 d35c5c7..257ff11 100644
--- a/drivers/timers/pwm.c
+++ b/drivers/timers/pwm.c
@@ -127,7 +127,7 @@ static void pwm_dump(FAR const char *msg, FAR const struct 
pwm_info_s *info,
               info->channels[i].channel, info->channels[i].duty);
     }
 #else
-  pwminfo(" duty: %08x\n", info->duty);
+  pwminfo(" duty: %08" PRIx32 "\n", info->duty);
 #endif
 
 #ifdef CONFIG_PWM_PULSECOUNT

Reply via email to