From f3654090d9df5c1437e128ae4a13617d069f586d Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Mon, 21 Nov 2011 15:42:18 -0800 Subject: UHD will now print 'L' whenever a late packet is transmitted. This is similiar to printing 'U' and 'S'. This functionality is not yet supported on the USRP1. --- host/lib/usrp/b100/io_impl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib/usrp/b100') diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp index feafd3e4a..5b2fa4686 100644 --- a/host/lib/usrp/b100/io_impl.cpp +++ b/host/lib/usrp/b100/io_impl.cpp @@ -102,6 +102,9 @@ void b100_impl::handle_async_message(managed_recv_buffer::sptr rbuf){ ( async_metadata_t::EVENT_CODE_SEQ_ERROR | async_metadata_t::EVENT_CODE_SEQ_ERROR_IN_BURST) ) UHD_MSG(fastpath) << "S"; + else if (metadata.event_code & + async_metadata_t::EVENT_CODE_TIME_ERROR + ) UHD_MSG(fastpath) << "L"; } else UHD_MSG(error) << "Unknown async packet" << std::endl; } -- cgit v1.2.3