commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r8546 - usrp2/trunk/host-ng/lib


From: jcorgan
Subject: [Commit-gnuradio] r8546 - usrp2/trunk/host-ng/lib
Date: Mon, 2 Jun 2008 14:01:12 -0600 (MDT)

Author: jcorgan
Date: 2008-06-02 14:01:09 -0600 (Mon, 02 Jun 2008)
New Revision: 8546

Modified:
   usrp2/trunk/host-ng/lib/find.cc
   usrp2/trunk/host-ng/lib/usrp2.cc
Log:
wip, more cleanup

Modified: usrp2/trunk/host-ng/lib/find.cc
===================================================================
--- usrp2/trunk/host-ng/lib/find.cc     2008-06-02 19:27:15 UTC (rev 8545)
+++ usrp2/trunk/host-ng/lib/find.cc     2008-06-02 20:01:09 UTC (rev 8546)
@@ -119,7 +119,7 @@
 
     props p;
     p.addr = std::string(addr_buf);  
-    p.hw_rev = htons(rp->op_id_reply.hw_rev);
+    p.hw_rev = ntohs(rp->op_id_reply.hw_rev);
     memcpy(&p.fpga_md5sum, &rp->op_id_reply.fpga_md5sum, 
sizeof(p.fpga_md5sum));
     memcpy(&p.sw_md5sum, &rp->op_id_reply.sw_md5sum, sizeof(p.sw_md5sum));
     

Modified: usrp2/trunk/host-ng/lib/usrp2.cc
===================================================================
--- usrp2/trunk/host-ng/lib/usrp2.cc    2008-06-02 19:27:15 UTC (rev 8545)
+++ usrp2/trunk/host-ng/lib/usrp2.cc    2008-06-02 20:01:09 UTC (rev 8546)
@@ -27,7 +27,6 @@
 #include "pktfilter.h"
 #include "usrp2_thread.h"
 
-#include <boost/scoped_ptr.hpp>
 #include <iostream>
 #include <stdexcept>
 #include <netinet/in.h>





reply via email to

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