From 72c625f7e50b65dc3b642112762e9eb1d633bd42 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Wed, 24 Dec 2008 08:10:48 +0000 Subject: Merged r10071:10164 from features/cppdb-test into trunk. Implements the fully native C++ API for the USRP. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10165 221aa14e-8319-0410-a670-987f0aec2ac5 --- gnuradio-examples/python/ofdm/tunnel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnuradio-examples/python/ofdm/tunnel.py') diff --git a/gnuradio-examples/python/ofdm/tunnel.py b/gnuradio-examples/python/ofdm/tunnel.py index 74f0f04d7..7e75c3ee8 100755 --- a/gnuradio-examples/python/ofdm/tunnel.py +++ b/gnuradio-examples/python/ofdm/tunnel.py @@ -182,8 +182,8 @@ class usrp_graph(gr.top_block): the result of that operation and our target_frequency to determine the value for the digital up converter. """ - r_snk = self.u_snk.tune(self.subdev._which, self.subdev, target_freq) - r_src = self.u_src.tune(self.subdev._which, self.subdev, target_freq) + r_snk = self.u_snk.tune(self.subdev.which(), self.subdev, target_freq) + r_src = self.u_src.tune(self.subdev.which(), self.subdev, target_freq) if r_snk and r_src: return True -- cgit