diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-10 01:28:31 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-10 01:28:31 +0000 |
commit | e5a05a4476a6b30b2c36bef71a9a67611fae7cc4 (patch) | |
tree | bd19a83fad77d0e4e0554ffca2894d1ca0dccd6f | |
parent | ded12d29fb6b85e39f14edc37a659e5eb5370e46 (diff) | |
parent | 75537e896bbd0aeb8d988b6ad33b5ab2d35b316f (diff) | |
download | uhd-e5a05a4476a6b30b2c36bef71a9a67611fae7cc4.tar.gz uhd-e5a05a4476a6b30b2c36bef71a9a67611fae7cc4.tar.bz2 uhd-e5a05a4476a6b30b2c36bef71a9a67611fae7cc4.zip |
Merge branch 'error_handling' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
-rw-r--r-- | host/examples/benchmark_rx_rate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/benchmark_rx_rate.cpp b/host/examples/benchmark_rx_rate.cpp index ba4dd34d0..7a7e9c3e0 100644 --- a/host/examples/benchmark_rx_rate.cpp +++ b/host/examples/benchmark_rx_rate.cpp @@ -57,7 +57,7 @@ static inline void test_device( std::cerr << "Unexpected timeout on recv, exit test..." << std::endl; return; } - if (num_rx_samps == 0){ + if (num_rx_samps == 0 and md.error_code != uhd::rx_metadata_t::ERROR_CODE_OVERRUN){ std::cerr << "Unexpected error on recv, continuing..." << std::endl; } if (not md.has_time_spec){ |