summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/usrp_nbfm_rcv.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/examples/usrp_nbfm_rcv.py')
-rwxr-xr-xgr-uhd/examples/usrp_nbfm_rcv.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-uhd/examples/usrp_nbfm_rcv.py b/gr-uhd/examples/usrp_nbfm_rcv.py
index a558b9347..7e15abbcf 100755
--- a/gr-uhd/examples/usrp_nbfm_rcv.py
+++ b/gr-uhd/examples/usrp_nbfm_rcv.py
@@ -266,9 +266,7 @@ class receive_path(gr.hier_block2):
gr.io_signature(0, 0, 0), # Input signature
gr.io_signature(0, 0, 0)) # Output signature
- self.u = uhd.usrp_source(device_addr=args,
- io_type=uhd.io_type.COMPLEX_FLOAT32,
- num_channels=1)
+ self.u = uhd.usrp_source(device_addr=args, stream_args=uhd.stream_args('fc32'))
self.if_rate = 256e3
self.quad_rate = 64e3