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-pager/apps/usrp_flex.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gr-pager/apps/usrp_flex.py') diff --git a/gr-pager/apps/usrp_flex.py b/gr-pager/apps/usrp_flex.py index 7c90d9296..7d0d66a95 100755 --- a/gr-pager/apps/usrp_flex.py +++ b/gr-pager/apps/usrp_flex.py @@ -35,9 +35,7 @@ class app_top_block(gr.top_block): if options.from_file is None: # 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')) # Grab 250 KHz of spectrum # (A UHD facility to get sample rate range and granularity would be useful) -- cgit