diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/examples/rx_samples_to_file.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/examples/rx_samples_to_file.cpp b/host/examples/rx_samples_to_file.cpp index e196b8592..19bfaa79e 100644 --- a/host/examples/rx_samples_to_file.cpp +++ b/host/examples/rx_samples_to_file.cpp @@ -140,6 +140,9 @@ template<typename samp_type> void recv_to_file( break; } } + + stream_cmd.stream_mode = uhd::stream_cmd_t::STREAM_MODE_STOP_CONTINUOUS; + rx_stream->issue_stream_cmd(stream_cmd); if (outfile.is_open()) outfile.close(); |