diff --git a/arch/arm/src/efm32/efm32_timer.c b/arch/arm/src/efm32/efm32_timer.c index 1bdf8cfc438..d33f7f049f1 100644 --- a/arch/arm/src/efm32/efm32_timer.c +++ b/arch/arm/src/efm32/efm32_timer.c @@ -229,8 +229,8 @@ int efm32_timer_set_freq(uintptr_t base, uint32_t clk_freq, uint32_t freq) reload = (clk_freq / prescaler / freq); - tmrinfo("Source: %4xHz Div: %4x Reload: %4x \n", clk_freq, prescaler, - reload); + tmrinfo("Source: %4" PRIx32 "Hz Div: %4x Reload: %4x \n", + clk_freq, prescaler, reload); putreg32(reload, base + EFM32_TIMER_TOP_OFFSET);