aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)