Bit unpacking input to constant

master
Xavier Arteaga 4 years ago committed by Andre Puschmann
parent 9a320baf37
commit bc66942b8d

@ -69,7 +69,7 @@ SRSLTE_API void srslte_bit_interleave_w_offset(uint8_t* input,
uint32_t nof_bits,
uint32_t w_offset);
SRSLTE_API void srslte_bit_unpack_vector(uint8_t* packed, uint8_t* unpacked, int nof_bits);
SRSLTE_API void srslte_bit_unpack_vector(const uint8_t* packed, uint8_t* unpacked, int nof_bits);
SRSLTE_API void srslte_bit_pack_vector(uint8_t* unpacked, uint8_t* packed, int nof_bits);

@ -697,7 +697,7 @@ void srslte_bit_copy(uint8_t* dst, uint32_t dst_offset, uint8_t* src, uint32_t s
}
}
void srslte_bit_unpack_vector(uint8_t* packed, uint8_t* unpacked, int nof_bits)
void srslte_bit_unpack_vector(const uint8_t* packed, uint8_t* unpacked, int nof_bits)
{
uint32_t i, nbytes;
nbytes = nof_bits / 8;

Loading…
Cancel
Save