diff options
author | Josh Blum | 2011-11-07 18:33:05 -0800 |
---|---|---|
committer | Josh Blum | 2011-11-07 18:56:29 -0800 |
commit | 24da5f495ca629113ea17f14e764af26a2285e73 (patch) | |
tree | df56fe437eaf43de82e5859e97df6dabf02bf8ff /gnuradio-examples | |
parent | d04404e1dd647b2de0f711a6ccba92e9dc21b823 (diff) | |
download | gnuradio-24da5f495ca629113ea17f14e764af26a2285e73.tar.gz gnuradio-24da5f495ca629113ea17f14e764af26a2285e73.tar.bz2 gnuradio-24da5f495ca629113ea17f14e764af26a2285e73.zip |
uhd: change examples to use new stream api
Diffstat (limited to 'gnuradio-examples')
-rwxr-xr-x | gnuradio-examples/python/tags/uhd_burst_detector.py | 4 |
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) |