summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/usrp_am_mw_rcv.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/examples/usrp_am_mw_rcv.py')
-rwxr-xr-xgr-uhd/examples/usrp_am_mw_rcv.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-uhd/examples/usrp_am_mw_rcv.py b/gr-uhd/examples/usrp_am_mw_rcv.py
index db3b35760..31fe9af70 100755
--- a/gr-uhd/examples/usrp_am_mw_rcv.py
+++ b/gr-uhd/examples/usrp_am_mw_rcv.py
@@ -75,9 +75,7 @@ class wfm_rx_block (stdgui2.std_top_block):
self.freq = 0
# build 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'))
usrp_rate = 256e3
demod_rate = 64e3