mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
spp_streamer: fix compile warning
This commit is contained in:
parent
a6ddbcb91c
commit
3c64bdf9a4
@ -113,7 +113,7 @@ static void test_track_sent(int bytes_sent){
|
|||||||
if (time_passed < REPORT_INTERVAL_MS) return;
|
if (time_passed < REPORT_INTERVAL_MS) return;
|
||||||
// print speed
|
// print speed
|
||||||
int bytes_per_second = test_data_sent * 1000 / time_passed;
|
int bytes_per_second = test_data_sent * 1000 / time_passed;
|
||||||
printf("%u bytes sent-> %u.%03u kB/s\n", test_data_sent, bytes_per_second / 1000, bytes_per_second % 1000);
|
printf("%u bytes sent-> %u.%03u kB/s\n", (int) test_data_sent, (int) bytes_per_second / 1000, bytes_per_second % 1000);
|
||||||
|
|
||||||
// restart
|
// restart
|
||||||
test_data_start = now;
|
test_data_start = now;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user