summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/deinterleave_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:27:52 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:27:52 -0400
commit78f56e07e24e0820a73ba2b24f4b8293bb3b3393 (patch)
treef55180813bff624e0d5b8e08d104bbb816b7fbec /gr-blocks/lib/deinterleave_impl.cc
parentbbfc759914da80214fabc70fbbed1edaf39f9e4b (diff)
Removing trailing/extra whitespaces before release (for master).
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-blocks/lib/deinterleave_impl.cc')
-rw-r--r--gr-blocks/lib/deinterleave_impl.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gr-blocks/lib/deinterleave_impl.cc b/gr-blocks/lib/deinterleave_impl.cc
index 5e1cc5221d..c9d0e9aeda 100644
--- a/gr-blocks/lib/deinterleave_impl.cc
+++ b/gr-blocks/lib/deinterleave_impl.cc
@@ -34,7 +34,7 @@ namespace gr {
{
return gnuradio::get_initial_sptr(new deinterleave_impl(itemsize, blocksize));
}
-
+
deinterleave_impl::deinterleave_impl(size_t itemsize, unsigned int blocksize)
: block("deinterleave",
io_signature::make (1, 1, itemsize),
@@ -51,7 +51,7 @@ namespace gr {
d_noutputs = noutputs;
return true;
}
-
+
int
deinterleave_impl::general_work(int noutput_items,
gr_vector_int& ninput_items,
@@ -60,14 +60,14 @@ namespace gr {
{
const char *in = (const char*)input_items[0];
char **out = (char**)&output_items[0];
-
+
memcpy(out[d_current_output], in, d_itemsize * d_blocksize);
consume_each(d_blocksize);
produce(d_current_output, d_blocksize);
d_current_output = (d_current_output + 1) % d_noutputs;
return WORK_CALLED_PRODUCE;
}
-
-
+
+
} /* namespace blocks */
} /* namespace gr */