Skip to content

Commit

Permalink
drivers: stm32_stgen: fix type in debug trace
Browse files Browse the repository at this point in the history
Fix the type in a debug trace in stm32_stgen_pm_resume() to fix a
compilation warning.

Fixes: b0b019b ("drivers: counter: stm32_stgen: add STGEN driver")
Signed-off-by: Gatien Chevallier <[email protected]>
Reviewed-by: Etienne Carriere <[email protected]>
  • Loading branch information
GseoC authored and jforissier committed Jan 27, 2025
1 parent 9a3ddeb commit 4a633b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/drivers/counter/stm32_stgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static void stm32_stgen_pm_resume(void)

io_setbits32(stgen_d.base + STGENC_CNTCR, STGENC_CNTCR_EN);

DMSG("Time spent in low-power: %"PRIu64"ms",
DMSG("Time spent in low-power: %lld ms",
(nb_pm_count_ticks * 1000) / clock_src_rate);
}

Expand Down

0 comments on commit 4a633b5

Please sign in to comment.