aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorBalint Seeber <balint@ettus.com>2014-11-24 13:17:06 -0800
committerMartin Braun <martin.braun@ettus.com>2014-11-25 10:17:05 +0100
commitb508dfdc5b9d721bfb605e764b24f2d818c8458e (patch)
tree05357f09d1986ec7e2762297e10809f8459b9384 /host/utils
parent3bed14aa13176d7fa110be08235c2c5678dd8a0c (diff)
downloaduhd-b508dfdc5b9d721bfb605e764b24f2d818c8458e.tar.gz
uhd-b508dfdc5b9d721bfb605e764b24f2d818c8458e.tar.bz2
uhd-b508dfdc5b9d721bfb605e764b24f2d818c8458e.zip
latency: fixed wrong return code
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/latency/lib/Responder.cpp2
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)