From 24da5f495ca629113ea17f14e764af26a2285e73 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 7 Nov 2011 18:33:05 -0800 Subject: uhd: change examples to use new stream api --- gr-uhd/examples/usrp_wxapt_rcv.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gr-uhd/examples/usrp_wxapt_rcv.py') diff --git a/gr-uhd/examples/usrp_wxapt_rcv.py b/gr-uhd/examples/usrp_wxapt_rcv.py index 1da51d363..78cc7bd08 100755 --- a/gr-uhd/examples/usrp_wxapt_rcv.py +++ b/gr-uhd/examples/usrp_wxapt_rcv.py @@ -69,9 +69,7 @@ class wxapt_rx_block (stdgui2.std_top_block): self.freq_max = options.freq_max # 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 = 320e3 demod_rate = 320e3 -- cgit