mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +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;
|
||||
// print speed
|
||||
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
|
||||
test_data_start = now;
|
||||
|
Loading…
x
Reference in New Issue
Block a user