summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/multi_usrp
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/multi_usrp')
-rwxr-xr-xgnuradio-examples/python/multi_usrp/multi_usrp_oscope.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-examples/python/multi_usrp/multi_usrp_oscope.py b/gnuradio-examples/python/multi_usrp/multi_usrp_oscope.py
index 3d426b45b..512b125a4 100755
--- a/gnuradio-examples/python/multi_usrp/multi_usrp_oscope.py
+++ b/gnuradio-examples/python/multi_usrp/multi_usrp_oscope.py
@@ -42,9 +42,9 @@ def pick_subdevice(u):
If there's a daughterboard on B, select B.
Otherwise, select A.
"""
- if u.db[0][0].dbid() >= 0: # dbid is < 0 if there's no d'board or a problem
+ if u.db(0, 0).dbid() >= 0: # dbid is < 0 if there's no d'board or a problem
return (0, 0)
- if u.db[1][0].dbid() >= 0:
+ if u.db(0, 0).dbid() >= 0:
return (1, 0)
return (0, 0)