diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-11-26 20:49:40 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-11-26 20:49:40 +0100 |
commit | 4047400063a6821298d541535fac8ca8e78fbf17 (patch) | |
tree | 849b5161e1bc1eef596584ba5b348cce986e5a81 /host/utils | |
parent | 98013a6379149659b39b10361d80a57f0aaacb4e (diff) | |
download | uhd-4047400063a6821298d541535fac8ca8e78fbf17.tar.gz uhd-4047400063a6821298d541535fac8ca8e78fbf17.tar.bz2 uhd-4047400063a6821298d541535fac8ca8e78fbf17.zip |
utils: Backported latency bugfix from master
Diffstat (limited to 'host/utils')
-rw-r--r-- | host/utils/latency/lib/Responder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/latency/lib/Responder.cpp b/host/utils/latency/lib/Responder.cpp index 150e0e4cd..e5be9e275 100644 --- a/host/utils/latency/lib/Responder.cpp +++ b/host/utils/latency/lib/Responder.cpp @@ -546,7 +546,7 @@ Responder::handle_rx_errors(uhd::rx_metadata_t::error_code_t err, size_t num_rx_ { std::string msg = (boost::format("Timeout while streaming (received %ld samples)") % _num_total_samps).str(); print_error_msg(msg); - _return_code = RETCODE_OVERFLOW; + _return_code = RETCODE_RECEIVE_TIMEOUT; return true; } else if (err == uhd::rx_metadata_t::ERROR_CODE_BAD_PACKET) |