diff options
Diffstat (limited to 'gr-uhd/examples/fm_tx_2_daughterboards.py')
-rwxr-xr-x | gr-uhd/examples/fm_tx_2_daughterboards.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-uhd/examples/fm_tx_2_daughterboards.py b/gr-uhd/examples/fm_tx_2_daughterboards.py index 61c437a98..c0a7112de 100755 --- a/gr-uhd/examples/fm_tx_2_daughterboards.py +++ b/gr-uhd/examples/fm_tx_2_daughterboards.py @@ -113,9 +113,8 @@ class my_top_block(gr.top_block): d = uhd.find_devices(uhd.device_addr(options.args)) uhd_type = d[0].get('type') - self.u = uhd.usrp_sink(device_addr=options.args, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=2) + stream_args = uhd.stream_args('fc32', channels=range(2)) + self.u = uhd.usrp_sink(device_addr=options.args, stream_args=stream_args) # Set up USRP system based on type if(uhd_type == "usrp"): |