summaryrefslogtreecommitdiff
path: root/gr-pager/apps/usrp_flex_all.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-pager/apps/usrp_flex_all.py')
-rwxr-xr-xgr-pager/apps/usrp_flex_all.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-pager/apps/usrp_flex_all.py b/gr-pager/apps/usrp_flex_all.py
index 71a0a398e..36bd90034 100755
--- a/gr-pager/apps/usrp_flex_all.py
+++ b/gr-pager/apps/usrp_flex_all.py
@@ -39,9 +39,7 @@ class app_top_block(gr.top_block):
else:
# Set up USRP source
- 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'))
# Tune daughterboard
r = self.u.set_center_freq(options.freq+options.calibration, 0)