aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/transport_hammer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples/transport_hammer.cpp')
-rw-r--r--host/examples/transport_hammer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/examples/transport_hammer.cpp b/host/examples/transport_hammer.cpp
index a44e81a82..4b949e5bd 100644
--- a/host/examples/transport_hammer.cpp
+++ b/host/examples/transport_hammer.cpp
@@ -83,7 +83,8 @@ void rx_hammer(uhd::usrp::multi_usrp::sptr usrp, const std::string &rx_cpu, uhd:
case uhd::rx_metadata_t::ERROR_CODE_OVERFLOW:
had_an_overflow = true;
last_time = md.time_spec;
- num_overflows++;
+ if (!md.out_of_sequence)
+ num_overflows++;
break;
default: