summaryrefslogtreecommitdiff
path: root/gnuradio-examples
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples')
-rwxr-xr-xgnuradio-examples/python/tags/uhd_burst_detector.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnuradio-examples/python/tags/uhd_burst_detector.py b/gnuradio-examples/python/tags/uhd_burst_detector.py
index ffa419562..7411ab06e 100755
--- a/gnuradio-examples/python/tags/uhd_burst_detector.py
+++ b/gnuradio-examples/python/tags/uhd_burst_detector.py
@@ -42,9 +42,7 @@ class uhd_burst_detector(gr.top_block):
self.uhd_src = uhd.single_usrp_source(
device_addr=self.uhd_addr,
- io_type=uhd.io_type_t.COMPLEX_FLOAT32,
- num_channels=1,
- )
+ stream_args=uhd.stream_args('fc32'))
self.uhd_src.set_samp_rate(self.samp_rate)
self.uhd_src.set_center_freq(self.freq, 0)