From 72c625f7e50b65dc3b642112762e9eb1d633bd42 Mon Sep 17 00:00:00 2001
From: jcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>
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/digital-bert/benchmark_tx.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gnuradio-examples/python/digital-bert/benchmark_tx.py')

diff --git a/gnuradio-examples/python/digital-bert/benchmark_tx.py b/gnuradio-examples/python/digital-bert/benchmark_tx.py
index 1778a74b5d..000f4bca2e 100755
--- a/gnuradio-examples/python/digital-bert/benchmark_tx.py
+++ b/gnuradio-examples/python/digital-bert/benchmark_tx.py
@@ -60,7 +60,7 @@ class tx_bpsk_block(gr.top_block):
 	    subdev_spec = usrp.pick_tx_subdevice(self._usrp)
 	self._usrp.set_mux(usrp.determine_tx_mux_value(self._usrp, subdev_spec))
 	self._subdev = usrp.selected_subdev(self._usrp, subdev_spec)
-	tr = usrp.tune(self._usrp, self._subdev._which, self._subdev, freq)
+	tr = usrp.tune(self._usrp, self._subdev.which(), self._subdev, freq)
         if not (tr):
             print "Failed to tune to center frequency!"
         else:
-- 
cgit v1.2.3