commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r7976 - usrp2/trunk/host/lib


From: eb
Subject: [Commit-gnuradio] r7976 - usrp2/trunk/host/lib
Date: Sat, 8 Mar 2008 14:13:53 -0700 (MST)

Author: eb
Date: 2008-03-08 14:13:53 -0700 (Sat, 08 Mar 2008)
New Revision: 7976

Modified:
   usrp2/trunk/host/lib/usrp2_basic.cc
Log:
duh, bigendian

Modified: usrp2/trunk/host/lib/usrp2_basic.cc
===================================================================
--- usrp2/trunk/host/lib/usrp2_basic.cc 2008-03-08 21:04:11 UTC (rev 7975)
+++ usrp2/trunk/host/lib/usrp2_basic.cc 2008-03-08 21:13:53 UTC (rev 7976)
@@ -510,8 +510,8 @@
     printf("opcode (2) = %d\n", r->opcode);
     printf("  len = %d\n", r->len);
     printf("  rid_mbz = %d\n", r->rid_mbz);
-    printf("  time = %d\n", r->time);
-    *time = r->time;
+    printf("  time = %d\n", ntohl(r->time));
+    *time = ntohl(r->time);
     return true;
   }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]