diff options
Diffstat (limited to 'gr-shd/apps/shd_rx_cfile')
-rwxr-xr-x | gr-shd/apps/shd_rx_cfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-shd/apps/shd_rx_cfile b/gr-shd/apps/shd_rx_cfile index ceae858343..37eec05e0e 100755 --- a/gr-shd/apps/shd_rx_cfile +++ b/gr-shd/apps/shd_rx_cfile @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2011 Free Software Foundation, Inc. +# Copyright 2011,2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -82,10 +82,10 @@ class rx_cfile_block(gr.top_block): self.connect(self._src, self._sink) else: if options.output_shorts: - self._head = gr.head(gr.sizeof_short*2, + self._head = blocks.head(gr.sizeof_short*2, int(options.nsamples)) else: - self._head = gr.head(gr.sizeof_gr_complex, + self._head = blocks.head(gr.sizeof_gr_complex, int(options.nsamples)) self.connect(self._src, self._head, self._sink) |