diff --git a/host/hackrf-tools/src/hackrf_sweep.c b/host/hackrf-tools/src/hackrf_sweep.c index ad598a49..38a4c297 100644 --- a/host/hackrf-tools/src/hackrf_sweep.c +++ b/host/hackrf-tools/src/hackrf_sweep.c @@ -727,6 +727,7 @@ int main(int argc, char** argv) { } } + fflush(outfile); result = hackrf_is_streaming(device); if (do_exit) { fprintf(stderr, "\nExiting...\n");