Fix Error: chip/stm32_tim_lowerhalf.c:479:54: error: format specifies type 'unsigned long' but the argument has type 'uint32_t'
@@ -476,8 +476,8 @@ static int stm32_settimeout(struct timer_lowerhalf_s *lower,
period = (uint32_t) timeout;
}
- tmrinfo(" clock=%lu period=%lu maxtimeout=%lu\n", clock, period,
- (uint32_t)maxtimeout);
+ tmrinfo(" clock=%" PRIu32 " period=%" PRIu32 " maxtimeout=%" PRIu32 "\n",
+ clock, period, (uint32_t)maxtimeout);
STM32_TIM_SETCLOCK(priv->tim, clock);
STM32_TIM_SETPERIOD(priv->tim, period);
