summaryrefslogtreecommitdiff
path: root/gr-sounder/src/python/sounder.py
diff options
context:
space:
mode:
authornldudok12007-10-28 23:08:45 +0000
committernldudok12007-10-28 23:08:45 +0000
commit2ca15dc5e29410ed63afafb882811716d74e209e (patch)
treeb0cd94c00e74bcc3f51d6653e29e62bd8a8e5215 /gr-sounder/src/python/sounder.py
parent2b552c8dbf35c7efb26b5efd851f4682aa599ba3 (diff)
downloadgnuradio-2ca15dc5e29410ed63afafb882811716d74e209e.tar.gz
gnuradio-2ca15dc5e29410ed63afafb882811716d74e209e.tar.bz2
gnuradio-2ca15dc5e29410ed63afafb882811716d74e209e.zip
resolved bug which prevented loopback from working
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6725 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-sounder/src/python/sounder.py')
-rw-r--r--gr-sounder/src/python/sounder.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-sounder/src/python/sounder.py b/gr-sounder/src/python/sounder.py
index 88ca40d50..16eca4be6 100644
--- a/gr-sounder/src/python/sounder.py
+++ b/gr-sounder/src/python/sounder.py
@@ -60,9 +60,11 @@ class sounder_tx:
if self._verbose:
print "Using", self._subdev.name(), "for sounder transmitter."
self.set_amplitude(ampl)
- self._subdev.set_lo_offset(0.0)
+ if not self._loopback:
+ self._subdev.set_lo_offset(0.0)
self._u.start()
- self._subdev.set_enable(True)
+ if not self._loopback:
+ self._subdev.set_enable(True)
def tune(self, frequency):
if self._verbose: