aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-16 19:42:38 -0700
committerJosh Blum <josh@joshknows.com>2010-03-16 19:42:38 -0700
commit83c463d09613b72817a837117c5f0b23975c8def (patch)
tree88a33ce28c339b6cb6bfd31398630280226f04cc /host/lib/usrp/usrp2/io_impl.cpp
parent12ca1b612c7d82d003b5ea9683417903e4cb043f (diff)
downloaduhd-83c463d09613b72817a837117c5f0b23975c8def.tar.gz
uhd-83c463d09613b72817a837117c5f0b23975c8def.tar.bz2
uhd-83c463d09613b72817a837117c5f0b23975c8def.zip
changes to get tuning working
Diffstat (limited to 'host/lib/usrp/usrp2/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index cc7746720..e52c1e576 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -149,7 +149,7 @@ void usrp2_impl::recv_raw(rx_metadata_t &metadata){
//handle the packet count / sequence number
size_t expected_packet_count = _rx_stream_id_to_packet_seq[metadata.stream_id];
if (packet_count_out != expected_packet_count){
- std::cerr << "bad packet count: " << packet_count_out << std::endl;
+ std::cerr << "S" << (packet_count_out - expected_packet_count)%16;
}
_rx_stream_id_to_packet_seq[metadata.stream_id] = (packet_count_out+1)%16;