Skip to content

Commit e447031

Browse files
authored
Correct Types in printf (#345)
1 parent 1d13665 commit e447031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pico_w/bt/picow_bt_example_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ static void iperf_report(void *arg, enum lwiperf_report_type report_type,
5959
uint32_t mbytes = bytes_transferred / 1024 / 1024;
6060
float mbits = bandwidth_kbitpsec / 1000.0;
6161
total_iperf_megabytes += mbytes;
62-
printf("Completed iperf transfer of %d MBytes @ %.1f Mbits/sec\n", mbytes, mbits);
63-
printf("Total iperf megabytes since start %d Mbytes\n", total_iperf_megabytes);
62+
printf("Completed iperf transfer of %u MBytes @ %.1f Mbits/sec\n", mbytes, mbits);
63+
printf("Total iperf megabytes since start %u Mbytes\n", total_iperf_megabytes);
6464
}
6565
#endif
6666

0 commit comments

Comments
 (0)