From b508dfdc5b9d721bfb605e764b24f2d818c8458e Mon Sep 17 00:00:00 2001 From: Balint Seeber Date: Mon, 24 Nov 2014 13:17:06 -0800 Subject: latency: fixed wrong return code --- host/utils/latency/lib/Responder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/utils/latency/lib') 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