summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/max_power.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2011-10-19 11:08:15 -0700
committerTom Rondeau <trondeau@vt.edu>2011-10-19 11:08:15 -0700
commit0d2db7f6d168cc38634e0a2da2a08bcadc19a420 (patch)
treed09030b700bfea0d4817bbd11486dca7dd154e2d /gr-uhd/examples/max_power.py
parent5f35546ced679cc41e21a5858e18908b64e38956 (diff)
uhd: fixed examples to use new find_devices command.
Diffstat (limited to 'gr-uhd/examples/max_power.py')
-rwxr-xr-xgr-uhd/examples/max_power.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/examples/max_power.py b/gr-uhd/examples/max_power.py
index ec9cb34ee3..53e1b413c2 100755
--- a/gr-uhd/examples/max_power.py
+++ b/gr-uhd/examples/max_power.py
@@ -42,7 +42,7 @@ class build_block(gr.top_block):
def __init__(self, args, tx_enable, rx_enable):
gr.top_block.__init__(self)
- d = uhd.device_find(uhd.device_addr(args))
+ d = uhd.find_devices(uhd.device_addr(args))
uhd_type = d[0].get('type')
print "\nFound '%s' at args '%s'" % \