summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/fm_tx4.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/examples/fm_tx4.py')
-rwxr-xr-xgr-uhd/examples/fm_tx4.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-uhd/examples/fm_tx4.py b/gr-uhd/examples/fm_tx4.py
index 11148ea63..714eed3cf 100755
--- a/gr-uhd/examples/fm_tx4.py
+++ b/gr-uhd/examples/fm_tx4.py
@@ -117,9 +117,7 @@ class fm_tx_block(stdgui2.std_top_block):
# ----------------------------------------------------------------
# Set up constants and parameters
- self.u = uhd.usrp_sink(device_addr=options.args,
- io_type=uhd.io_type.COMPLEX_FLOAT32,
- num_channels=1)
+ self.u = uhd.usrp_sink(device_addr=options.args, stream_args=uhd.stream_args('fc32'))
self.usrp_rate = options.samp_rate
self.u.set_samp_rate(self.usrp_rate)