summaryrefslogtreecommitdiff
path: root/gr-uhd/apps/uhd_rx_nogui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/apps/uhd_rx_nogui.py')
-rwxr-xr-xgr-uhd/apps/uhd_rx_nogui.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-uhd/apps/uhd_rx_nogui.py b/gr-uhd/apps/uhd_rx_nogui.py
index 25068b3ac..7a2e0a07a 100755
--- a/gr-uhd/apps/uhd_rx_nogui.py
+++ b/gr-uhd/apps/uhd_rx_nogui.py
@@ -88,9 +88,7 @@ class uhd_src(gr.hier_block2):
gr.io_signature(0, 0, 0), # Input signature
gr.io_signature(1, 1, gr.sizeof_gr_complex)) # Output signature
- self._src = uhd.usrp_source(device_addr=args,
- io_type=uhd.io_type.COMPLEX_FLOAT32,
- num_channels=1)
+ self._src = uhd.usrp_source(device_addr=args, stream_args=uhd.stream_args('fc32'))
self._src.set_samp_rate(samp_rate)
dev_rate = self._src.get_samp_rate()