Fix Error: chip/sam_tc.c:922:30: error: format specifies type 'long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-11-13 18:44:21 +08:00
committed by Xiang Xiao
parent 677932293b
commit c741b7b586
+1 -1
View File
@@ -919,7 +919,7 @@ static int sam_tc_mcksrc(uint32_t frequency, uint32_t *tcclks,
uint32_t fnext;
int ndx = 0;
tmrinfo("frequency=%ld\n", frequency);
tmrinfo("frequency=%" PRId32 "\n", frequency);
/* Satisfy lower bound. That is, the value of the divider such that:
*