diff options
author | eb | 2009-04-18 02:24:06 +0000 |
---|---|---|
committer | eb | 2009-04-18 02:24:06 +0000 |
commit | e41989bb374e67223bad12637ec5105acdd101b0 (patch) | |
tree | 8193583a9cf8a2669cc7211884d98bc9896c25a3 /gnuradio-examples/python/multi-antenna/multi_file.py | |
parent | d624f458ece26f0ed9de125047269f05d5c80a25 (diff) | |
download | gnuradio-e41989bb374e67223bad12637ec5105acdd101b0.tar.gz gnuradio-e41989bb374e67223bad12637ec5105acdd101b0.tar.bz2 gnuradio-e41989bb374e67223bad12637ec5105acdd101b0.zip |
Updated to work with old or new handling of Basic Rx daugherboard subdevs.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10877 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/multi-antenna/multi_file.py')
-rwxr-xr-x | gnuradio-examples/python/multi-antenna/multi_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-examples/python/multi-antenna/multi_file.py b/gnuradio-examples/python/multi-antenna/multi_file.py index 6f09546ea..87d9085e3 100755 --- a/gnuradio-examples/python/multi-antenna/multi_file.py +++ b/gnuradio-examples/python/multi-antenna/multi_file.py @@ -70,7 +70,7 @@ class my_graph(gr.top_block): self.subdev = self.u.db(0) + self.u.db(1) - if (len(self.subdev) != 4 or + if (len(self.subdev) < 4 or self.u.db(0, 0).dbid() != usrp_dbid.BASIC_RX or self.u.db(1, 0).dbid() != usrp_dbid.BASIC_RX): sys.stderr.write('This code requires a Basic Rx board on Sides A & B\n') |