Author: matt
Date: 2008-02-10 16:37:26 -0700 (Sun, 10 Feb 2008)
New Revision: 7627

Modified:
   gnuradio/trunk/gr-usrp/src/db_xcvr2450.py
Log:
swap IQ on TX side, and allow a second chance to get lock detect


Modified: gnuradio/trunk/gr-usrp/src/db_xcvr2450.py
===================================================================
--- gnuradio/trunk/gr-usrp/src/db_xcvr2450.py   2008-02-10 23:36:53 UTC (rev 
7626)
+++ gnuradio/trunk/gr-usrp/src/db_xcvr2450.py   2008-02-10 23:37:26 UTC (rev 
7627)
@@ -395,6 +395,9 @@
 
         ok = self.lock_detect()
         print "lock detect:", ok
+        if(not ok):
+            ok = self.lock_detect()
+            print "lock detect:", ok
         return (ok, actual_freq)
 
     def lock_detect(self):
@@ -490,8 +493,10 @@
 
     def set_gain(self, gain):
         return self.xcvr.set_tx_gain(gain)
-        
 
+    def i_and_q_swapped(self):
+        return True
+
 class db_xcvr2450_rx(db_xcvr2450_base):
     def __init__(self, usrp, which):
         """



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to