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_all.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gr-pager/apps/usrp_flex_all.py') 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) -- cgit