summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: