diff options
Diffstat (limited to 'gr-uhd')
-rwxr-xr-x | gr-uhd/examples/fm_tx_2_daughterboards.py | 2 | ||||
-rwxr-xr-x | gr-uhd/examples/max_power.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/examples/fm_tx_2_daughterboards.py b/gr-uhd/examples/fm_tx_2_daughterboards.py index 80fc667a5..25325bd19 100755 --- a/gr-uhd/examples/fm_tx_2_daughterboards.py +++ b/gr-uhd/examples/fm_tx_2_daughterboards.py @@ -108,7 +108,7 @@ class my_top_block(gr.top_block): # ---------------------------------------------------------------- # Set up USRP to transmit on both daughterboards - d = uhd.device_find(uhd.device_addr(options.args)) + d = uhd.find_devices(uhd.device_addr(options.args)) uhd_type = d[0].get('type') self.u = uhd.usrp_sink(device_addr=options.args, diff --git a/gr-uhd/examples/max_power.py b/gr-uhd/examples/max_power.py index ec9cb34ee..53e1b413c 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'" % \ |