diff options
author | fengzhe29888 <fengzhe29888@gmali.com> | 2015-01-22 11:26:05 -0500 |
---|---|---|
committer | fengzhe29888 <fengzhe29888@gmali.com> | 2015-01-22 17:58:17 -0500 |
commit | 481292779472c8ed93dcbfd5a9c957da2e1bbd07 (patch) | |
tree | 73ebca85bf89122de54ef36b73a0af886f67dfb2 /gr-blocks/lib/repack_bits_bb_impl.h | |
parent | 0832b5bd7cfe583bda929d950955d7c918c48cf0 (diff) |
blocks: added callback function set_k_and_l to repack bits
digital:corrected a function declaration in public header
Diffstat (limited to 'gr-blocks/lib/repack_bits_bb_impl.h')
-rw-r--r-- | gr-blocks/lib/repack_bits_bb_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-blocks/lib/repack_bits_bb_impl.h b/gr-blocks/lib/repack_bits_bb_impl.h index 8c57c74c23..8dfb0600a6 100644 --- a/gr-blocks/lib/repack_bits_bb_impl.h +++ b/gr-blocks/lib/repack_bits_bb_impl.h @@ -31,8 +31,8 @@ namespace gr { class repack_bits_bb_impl : public repack_bits_bb { private: - const int d_k; //! Bits on input stream - const int d_l; //! Bits on output stream + int d_k; //! Bits on input stream + int d_l; //! Bits on output stream const bool d_packet_mode; int d_in_index; // Current bit of input byte int d_out_index; // Current bit of output byte @@ -46,7 +46,7 @@ namespace gr { repack_bits_bb_impl(int k, int l, const std::string &len_tag_key, bool align_output, endianness_t endianness=GR_LSB_FIRST); ~repack_bits_bb_impl(); - + void set_k_and_l(int k, int l);//callback function for bits per input byte k and bits per output byte l int work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, |