drivers/timers/pwm.c: Fix a syslog format
This commit is contained in:
parent
cc9b3a3ec5
commit
89183fec00
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue