summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100
diff options
context:
space:
mode:
authorBen Hilburn <ben@ettus.com>2011-11-21 15:42:18 -0800
committerJosh Blum <josh@joshknows.com>2011-12-12 10:29:11 -0800
commitf3654090d9df5c1437e128ae4a13617d069f586d (patch)
tree6bf6b0ccbc5bfbaca1abaa53db97523f807b37e0 /host/lib/usrp/e100
parent6c1fd6e2d96484027751dc853a609f4e6946bd32 (diff)
downloaduhd-f3654090d9df5c1437e128ae4a13617d069f586d.tar.gz
uhd-f3654090d9df5c1437e128ae4a13617d069f586d.tar.bz2
uhd-f3654090d9df5c1437e128ae4a13617d069f586d.zip
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.
Diffstat (limited to 'host/lib/usrp/e100')
-rw-r--r--host/lib/usrp/e100/io_impl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/e100/io_impl.cpp b/host/lib/usrp/e100/io_impl.cpp
index dc090ad28..5dddeef25 100644
--- a/host/lib/usrp/e100/io_impl.cpp
+++ b/host/lib/usrp/e100/io_impl.cpp
@@ -142,6 +142,9 @@ void e100_impl::io_impl::handle_irq(void){
( 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";
}
//prepare for the next round