forked from Archive/PX4-Autopilot
Added missing "%"
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
1e3fa64eff
commit
fc3d49240e
|
@ -206,7 +206,7 @@ void* send(void* /*unused*/)
|
|||
struct timespec end;
|
||||
px4_clock_gettime(CLOCK_REALTIME, &end);
|
||||
double elapsed_secs = double(end.tv_sec - begin.tv_sec) + double(end.tv_nsec - begin.tv_nsec)/double(1000000000);
|
||||
printf("\nSENT: " PRIu64 " messages in %d LOOPS, " PRIu64 " bytes in %.03f seconds - %.02fKB/s\n",
|
||||
printf("\nSENT: %" PRIu64 " messages in %d LOOPS, %" PRIu64 " bytes in %.03f seconds - %.02fKB/s\n",
|
||||
sent, loop, total_sent, elapsed_secs, (double)total_sent/(1000*elapsed_secs));
|
||||
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in New Issue