diff options
author | jcorgan | 2007-07-20 19:35:40 +0000 |
---|---|---|
committer | jcorgan | 2007-07-20 19:35:40 +0000 |
commit | 9064e0b29fcc12fe88a6673ddea2ee346c8df02d (patch) | |
tree | 55b01e9660cc448c5cc036a1e27ab1a9c9c8bf1e /gr-radar-mono/src/python/radar_mono.py | |
parent | e67e6ad3539b8b847a4c011e23d5722c7a74f473 (diff) | |
download | gnuradio-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-radar-mono/src/python/radar_mono.py')
-rw-r--r-- | gr-radar-mono/src/python/radar_mono.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-radar-mono/src/python/radar_mono.py b/gr-radar-mono/src/python/radar_mono.py index 0f2c2b252..830868f3c 100644 --- a/gr-radar-mono/src/python/radar_mono.py +++ b/gr-radar-mono/src/python/radar_mono.py @@ -69,8 +69,7 @@ class radar_tx: self._u = usrp.sink_s(fpga_filename='usrp_radar_mono.rbf') self._subdev_spec = (0,0); # FPGA code only implements side A self._subdev = usrp.selected_subdev(self._u, self._subdev_spec) - if hasattr(self._subdev, 'set_lo_offset'): - self._subdev.set_lo_offset(0) + self._subdev.set_lo_offset(0.0) self._ton_ticks = 0 self._tsw_ticks = 0 self._tlook_ticks = 0 |