From 4047400063a6821298d541535fac8ca8e78fbf17 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 26 Nov 2014 20:49:40 +0100 Subject: utils: Backported latency bugfix from master --- host/utils/latency/lib/Responder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/utils') 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) -- cgit v1.2.3