[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8957 - usrp2/branches/features/host-ng/host-ng/lib
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r8957 - usrp2/branches/features/host-ng/host-ng/lib |
Date: |
Sun, 20 Jul 2008 15:21:15 -0600 (MDT) |
Author: jcorgan
Date: 2008-07-20 15:21:15 -0600 (Sun, 20 Jul 2008)
New Revision: 8957
Modified:
usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc
Log:
Fix missing frame count calculation.
Modified: usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc
===================================================================
--- usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc 2008-07-20
20:50:25 UTC (rev 8956)
+++ usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc 2008-07-20
21:21:15 UTC (rev 8957)
@@ -478,7 +478,7 @@
if (seqno != expected_seqno) {
::write(2, "uS", 2); // missing sequence number
- int missing = expected_seqno - seqno;
+ int missing = seqno - expected_seqno;
if (missing < 0)
missing += 256;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8957 - usrp2/branches/features/host-ng/host-ng/lib,
jcorgan <=