summaryrefslogtreecommitdiff
path: root/gr-sounder/src/python
diff options
context:
space:
mode:
authorjcorgan2007-07-20 19:35:40 +0000
committerjcorgan2007-07-20 19:35:40 +0000
commit9064e0b29fcc12fe88a6673ddea2ee346c8df02d (patch)
tree55b01e9660cc448c5cc036a1e27ab1a9c9c8bf1e /gr-sounder/src/python
parente67e6ad3539b8b847a4c011e23d5722c7a74f473 (diff)
downloadgnuradio-9064e0b29fcc12fe88a6673ddea2ee346c8df02d.tar.gz
gnuradio-9064e0b29fcc12fe88a6673ddea2ee346c8df02d.tar.bz2
gnuradio-9064e0b29fcc12fe88a6673ddea2ee346c8df02d.zip
Update LO offset calls.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6039 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-sounder/src/python')
-rw-r--r--gr-sounder/src/python/sounder.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-sounder/src/python/sounder.py b/gr-sounder/src/python/sounder.py
index 84f000227..facb55918 100644
--- a/gr-sounder/src/python/sounder.py
+++ b/gr-sounder/src/python/sounder.py
@@ -60,10 +60,9 @@ 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)
self._u.start()
self._subdev.set_enable(True)
- if hasattr(self._subdev, 'set_lo_offset'):
- self._subdev.set_lo_offset(0)
def tune(self, frequency):
if self._verbose: