hackrf_sweep: flush output earlier
Gives listener access to complete data faster. Otherwise the data might be delayed until the whole closing procedure is done.
This commit is contained in:
@ -727,6 +727,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
|
||||
fflush(outfile);
|
||||
result = hackrf_is_streaming(device);
|
||||
if (do_exit) {
|
||||
fprintf(stderr, "\nExiting...\n");
|
||||
|
Reference in New Issue
Block a user