summaryrefslogtreecommitdiff
path: root/gr-usrp/src
diff options
context:
space:
mode:
authormatt2008-02-10 23:37:26 +0000
committermatt2008-02-10 23:37:26 +0000
commite57a197d363f84000d4bc9c2e215ea6bf4c1b711 (patch)
tree1f347c1cbac01f8dacda5271a263d27cee49be62 /gr-usrp/src
parent1eeb01e36a6f0c622b7779aba3c29942b21a79fa (diff)
downloadgnuradio-e57a197d363f84000d4bc9c2e215ea6bf4c1b711.tar.gz
gnuradio-e57a197d363f84000d4bc9c2e215ea6bf4c1b711.tar.bz2
gnuradio-e57a197d363f84000d4bc9c2e215ea6bf4c1b711.zip
swap IQ on TX side, and allow a second chance to get lock detect
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7627 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp/src')
-rw-r--r--gr-usrp/src/db_xcvr2450.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/gr-usrp/src/db_xcvr2450.py b/gr-usrp/src/db_xcvr2450.py
index c08f091ab..79098c72d 100644
--- a/gr-usrp/src/db_xcvr2450.py
+++ b/gr-usrp/src/db_xcvr2450.py
@@ -395,6 +395,9 @@ class xcvr2450(object):
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,7 +493,9 @@ class db_xcvr2450_tx(db_xcvr2450_base):
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):