diff options
Diffstat (limited to 'gr-uhd/examples/usrp_tv_rcv_nogui.py')
-rwxr-xr-x | gr-uhd/examples/usrp_tv_rcv_nogui.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-uhd/examples/usrp_tv_rcv_nogui.py b/gr-uhd/examples/usrp_tv_rcv_nogui.py index 2324eb29e..f6a40d675 100755 --- a/gr-uhd/examples/usrp_tv_rcv_nogui.py +++ b/gr-uhd/examples/usrp_tv_rcv_nogui.py @@ -131,9 +131,7 @@ class my_top_block(gr.top_block): raise SystemExit, 1 # build the graph - self.u = uhd.usrp_source(device_addr=options.args, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_source(device_addr=options.args, stream_args=uhd.stream_args('fc32')) self.u.set_samp_rate(input_rate) dev_rate = self.u.get_samp_rate() |