forked from Archive/PX4-Autopilot
perf: fixed mixup of stdout/stdin
This commit is contained in:
parent
59ee9ea1ae
commit
43235a8cff
|
@ -70,7 +70,7 @@ int perf_main(int argc, char *argv[])
|
|||
return 0;
|
||||
|
||||
} else if (strcmp(argv[1], "latency") == 0) {
|
||||
perf_print_latency(0 /* stdout */);
|
||||
perf_print_latency(1 /* stdout */);
|
||||
fflush(stdout);
|
||||
return 0;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ int perf_main(int argc, char *argv[])
|
|||
return -1;
|
||||
}
|
||||
|
||||
perf_print_all(0 /* stdout */);
|
||||
perf_print_all(1 /* stdout */);
|
||||
fflush(stdout);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue