mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
arch/arm/src/stm32l4/stm32l4_pwm.c: fix printf format
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
committed by
Xiang Xiao
parent
8438813ebe
commit
a35d205f3b
@@ -3166,7 +3166,7 @@ static int pwm_timer(FAR struct pwm_lowerhalf_s *dev,
|
||||
DEBUGASSERT(priv != NULL && info != NULL);
|
||||
|
||||
#if defined(CONFIG_STM32L4_PWM_MULTICHAN)
|
||||
pwminfo("TIM%u frequency: %u\n",
|
||||
pwminfo("TIM%u frequency: %" PRIu32 "\n",
|
||||
priv->timid, info->frequency);
|
||||
#else
|
||||
pwminfo("TIM%u channel: %u frequency: %" PRIu32 " duty: %08" PRIx32 "\n",
|
||||
|
||||
Reference in New Issue
Block a user