diff --git a/drivers/timers/pwm.c b/drivers/timers/pwm.c index 257ff11c1b..0b2f02e6ac 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);