summaryrefslogtreecommitdiff
path: root/gr-qtgui/apps/uhd_display.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/apps/uhd_display.py')
-rwxr-xr-xgr-qtgui/apps/uhd_display.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-qtgui/apps/uhd_display.py b/gr-qtgui/apps/uhd_display.py
index 806914797..94e4f099c 100755
--- a/gr-qtgui/apps/uhd_display.py
+++ b/gr-qtgui/apps/uhd_display.py
@@ -171,9 +171,7 @@ class my_top_block(gr.top_block):
self.qapp = QtGui.QApplication(sys.argv)
- self.u = uhd.usrp_source(device_addr=options.address,
- io_type=uhd.io_type.COMPLEX_FLOAT32,
- num_channels=1)
+ self.u = uhd.usrp_source(device_addr=options.address, stream_args=uhd.stream_args('fc32'))
self.set_bandwidth(options.samp_rate)
if options.gain is None: