summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/usrp/usrp_nbfm_ptt.py')
-rwxr-xr-xgnuradio-examples/python/usrp/usrp_nbfm_ptt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py b/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
index 35f015215b..3ce1e0c49f 100755
--- a/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
+++ b/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
@@ -337,7 +337,7 @@ class transmit_path(gr.hier_block2):
determine the value for the digital up converter. Finally, we feed
any residual_freq to the s/w freq translater.
"""
- r = self.u.tune(self.subdev._which, self.subdev, target_freq)
+ r = self.u.tune(self.subdev.which(), self.subdev, target_freq)
if r:
# Use residual_freq in s/w freq translator
return True