diff options
author | Tom Rondeau | 2011-11-12 18:30:13 -0500 |
---|---|---|
committer | Tom Rondeau | 2011-11-12 18:30:13 -0500 |
commit | 0e7c799e4ef7a392a8ffe47170666908bfcb183f (patch) | |
tree | deb32d3810b4cb636ecfa24ff613a1aad1fd409c /gr-digital/examples/ofdm/uhd_interface.py | |
parent | c9c20b9051b997ab53a27869094648f15e0dccae (diff) | |
parent | 9a25332b706b1ffadf8cdf9b405e89c37a1e2278 (diff) | |
download | gnuradio-0e7c799e4ef7a392a8ffe47170666908bfcb183f.tar.gz gnuradio-0e7c799e4ef7a392a8ffe47170666908bfcb183f.tar.bz2 gnuradio-0e7c799e4ef7a392a8ffe47170666908bfcb183f.zip |
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gr-digital/examples/ofdm/uhd_interface.py')
-rw-r--r-- | gr-digital/examples/ofdm/uhd_interface.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gr-digital/examples/ofdm/uhd_interface.py b/gr-digital/examples/ofdm/uhd_interface.py index 476d3c842..14a542b0f 100644 --- a/gr-digital/examples/ofdm/uhd_interface.py +++ b/gr-digital/examples/ofdm/uhd_interface.py @@ -46,13 +46,9 @@ class uhd_interface: gain=None, spec=None, antenna=None): if(istx): - self.u = uhd.usrp_sink(device_addr=args, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_sink(device_addr=args, stream_args=uhd.stream_args('fc32')) else: - self.u = uhd.usrp_source(device_addr=args, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_source(device_addr=args, stream_args=uhd.stream_args('fc32')) self._args = args self._ant = antenna |