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-digital/examples/ofdm/uhd_interface.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gr-digital/examples/ofdm/uhd_interface.py') diff --git a/gr-digital/examples/ofdm/uhd_interface.py b/gr-digital/examples/ofdm/uhd_interface.py index 476d3c842..14a542b0f 100644 --- a/gr-digital/examples/ofdm/uhd_interface.py +++ b/gr-digital/examples/ofdm/uhd_interface.py @@ -46,13 +46,9 @@ class uhd_interface: gain=None, spec=None, antenna=None): if(istx): - self.u = uhd.usrp_sink(device_addr=args, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_sink(device_addr=args, stream_args=uhd.stream_args('fc32')) else: - 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._args = args self._ant = antenna -- cgit