[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r7652 - usrp2/trunk/host/apps
From: |
eb |
Subject: |
[Commit-gnuradio] r7652 - usrp2/trunk/host/apps |
Date: |
Wed, 13 Feb 2008 10:43:49 -0700 (MST) |
Author: eb
Date: 2008-02-13 10:43:48 -0700 (Wed, 13 Feb 2008)
New Revision: 7652
Modified:
usrp2/trunk/host/apps/rx_streaming_samples.cc
Log:
print "L" if length of received packet is wrong
Modified: usrp2/trunk/host/apps/rx_streaming_samples.cc
===================================================================
--- usrp2/trunk/host/apps/rx_streaming_samples.cc 2008-02-13 15:32:13 UTC
(rev 7651)
+++ usrp2/trunk/host/apps/rx_streaming_samples.cc 2008-02-13 17:43:48 UTC
(rev 7652)
@@ -364,6 +364,9 @@
rb->d_writer->update_write_pointer(n);
rb->d_not_empty.post();
+ if (n != samples_per_frame)
+ ::write(2, "L", 1);
+
if (pkt.hdrs.thdr.seqno != expected_seqno)
::write(2, "S", 1);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r7652 - usrp2/trunk/host/apps,
eb <=