diff options
author | Josh Blum <josh@joshknows.com> | 2013-07-19 12:38:23 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-07-19 12:38:23 -0700 |
commit | 94a810f3b95c2fcd361a41862abf5280e989eee1 (patch) | |
tree | 992bfe353e874d7383b4f40e13bf0ba87181b7aa /host/lib | |
parent | 6553047fca9536bd7633360ba919825bced372b7 (diff) | |
download | uhd-94a810f3b95c2fcd361a41862abf5280e989eee1.tar.gz uhd-94a810f3b95c2fcd361a41862abf5280e989eee1.tar.bz2 uhd-94a810f3b95c2fcd361a41862abf5280e989eee1.zip |
uhd: packet handler minor changes
* overflow recovery also in case of alignment failure
* print D (discontinuities) instead of O in seq errors
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/transport/super_recv_packet_handler.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp index 75d1f3068..688228e49 100644 --- a/host/lib/transport/super_recv_packet_handler.hpp +++ b/host/lib/transport/super_recv_packet_handler.hpp @@ -502,7 +502,7 @@ private: curr_info.metadata.start_of_burst = false; curr_info.metadata.end_of_burst = false; curr_info.metadata.error_code = rx_metadata_t::ERROR_CODE_OVERFLOW; - UHD_MSG(fastpath) << "O"; + UHD_MSG(fastpath) << "D"; return; } @@ -522,6 +522,7 @@ private: curr_info.metadata.start_of_burst = false; curr_info.metadata.end_of_burst = false; curr_info.metadata.error_code = rx_metadata_t::ERROR_CODE_ALIGNMENT; + _props[index].handle_overflow(); return; } |