drivers/timers/pwm.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-26 06:54:32 +09:00 committed by Xiang Xiao
parent cc9b3a3ec5
commit 89183fec00

View file

@ -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