summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-07-19 04:56:10 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-07-19 04:56:10 +0000
commit08b4782777eccd8913ac9dbd7b15508229db034e (patch)
tree852cbf6450d20297d78f36c17631a2bb0fb54fcc
parent27669cfcdca0d56642cf5279d372fe149e7b1d26 (diff)
Fix for working with RFX boards.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6029 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--gr-sounder/src/python/sounder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-sounder/src/python/sounder.py b/gr-sounder/src/python/sounder.py
index 7a6157125e..84f000227e 100644
--- a/gr-sounder/src/python/sounder.py
+++ b/gr-sounder/src/python/sounder.py
@@ -61,7 +61,10 @@ class sounder_tx:
print "Using", self._subdev.name(), "for sounder transmitter."
self.set_amplitude(ampl)
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:
print "Setting transmitter frequency to", n2s(frequency)