Merge pull request #1802 from marcas756/PullReq-SWITCH_BITS_IN_BYTE_STATIC
Make set_bits_in_byte() static (like for get_bits_in_byte)
This commit is contained in:
commit
8e0ecf9b3a
|
@ -169,7 +169,7 @@ header_size(const struct packetbuf_attrlist *a)
|
|||
return size;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void CC_INLINE
|
||||
static void CC_INLINE
|
||||
set_bits_in_byte(uint8_t *target, int bitpos, uint8_t val, int vallen)
|
||||
{
|
||||
unsigned short shifted_val;
|
||||
|
|
Loading…
Reference in a new issue