From 2ca15dc5e29410ed63afafb882811716d74e209e Mon Sep 17 00:00:00 2001 From: nldudok1 Date: Sun, 28 Oct 2007 23:08:45 +0000 Subject: resolved bug which prevented loopback from working git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6725 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-sounder/src/python/sounder.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gr-sounder/src/python/sounder.py') 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: -- cgit