summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/dect
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/dect')
-rw-r--r--gnuradio-examples/python/dect/usrp_source.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-examples/python/dect/usrp_source.py b/gnuradio-examples/python/dect/usrp_source.py
index 6a779840f..df19ff278 100644
--- a/gnuradio-examples/python/dect/usrp_source.py
+++ b/gnuradio-examples/python/dect/usrp_source.py
@@ -64,9 +64,9 @@ class usrp_source_c(gr.hier_block2):
If there's a daughterboard on B, select B.
Otherwise, select A.
"""
- if self._u.db[0][0].dbid() >= 0: # dbid is < 0 if there's no d'board or a problem
+ if self._u.db(0, 0).dbid() >= 0: # dbid is < 0 if there's no d'board or a problem
return (0, 0)
- if self._u.db[1][0].dbid() >= 0:
+ if self._u.db(1, 0).dbid() >= 0:
return (1, 0)
return (0, 0)