Make get_bits_in_byte() static

This commit is contained in:
Simon Duquennoy 2015-12-07 13:17:25 +01:00
parent 648b6926b5
commit 6df9f886f8

View file

@ -92,7 +92,7 @@ le16_read(const void *ptr)
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)
{
uint16_t shifted_val;