Make get_bits_in_byte() static
This commit is contained in:
parent
648b6926b5
commit
6df9f886f8
|
@ -92,7 +92,7 @@ le16_read(const void *ptr)
|
||||||
return ((uint16_t)p[1] << 8) | p[0];
|
return ((uint16_t)p[1] << 8) | p[0];
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
uint8_t CC_INLINE
|
static uint8_t CC_INLINE
|
||||||
get_bits_in_byte(uint8_t *from, int bitpos, int vallen)
|
get_bits_in_byte(uint8_t *from, int bitpos, int vallen)
|
||||||
{
|
{
|
||||||
uint16_t shifted_val;
|
uint16_t shifted_val;
|
||||||
|
|
Loading…
Reference in a new issue