diff options
-rwxr-xr-x | gr-utils/src/python/usrp_fft.py | 2 | ||||
-rwxr-xr-x | gr-utils/src/python/usrp_oscope.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/src/python/usrp_fft.py b/gr-utils/src/python/usrp_fft.py index ab7fb4462..eda9bd57c 100755 --- a/gr-utils/src/python/usrp_fft.py +++ b/gr-utils/src/python/usrp_fft.py @@ -39,7 +39,7 @@ def pick_subdevice(u): """ 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(0, 0).dbid() >= 0: + if u.db(1, 0).dbid() >= 0: return (1, 0) return (0, 0) diff --git a/gr-utils/src/python/usrp_oscope.py b/gr-utils/src/python/usrp_oscope.py index f4a539dd5..9921e9873 100755 --- a/gr-utils/src/python/usrp_oscope.py +++ b/gr-utils/src/python/usrp_oscope.py @@ -42,7 +42,7 @@ def pick_subdevice(u): """ 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(0, 0).dbid() >= 0: + if u.db(1, 0).dbid() >= 0: return (1, 0) return (0, 0) |