mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
drivers/timers/pwm.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
cc9b3a3ec5
commit
89183fec00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user