diff options
Diffstat (limited to 'gr-blocks/lib/repack_bits_bb_impl.h')
-rw-r--r-- | gr-blocks/lib/repack_bits_bb_impl.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gr-blocks/lib/repack_bits_bb_impl.h b/gr-blocks/lib/repack_bits_bb_impl.h index e6edb579a1..ffb8349d35 100644 --- a/gr-blocks/lib/repack_bits_bb_impl.h +++ b/gr-blocks/lib/repack_bits_bb_impl.h @@ -31,16 +31,12 @@ namespace gr { class repack_bits_bb_impl : public repack_bits_bb { private: - int d_k; //! Bits on input stream - int d_l; //! Bits on output stream + const int d_k; //! Bits on input stream + const 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 bool d_align_output; //! true if the output shall be aligned, false if the input shall be aligned - void handle_set_n_input_bits (pmt::pmt_t k_pmt); - void handle_set_n_output_bits (pmt::pmt_t l_pmt); - void set_n_input_bits (unsigned int k); - void set_n_output_bits (unsigned int l); protected: int calculate_output_stream_length(const gr_vector_int &ninput_items); |