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:
Nicolas Tsiftes 2016-09-05 16:50:25 +02:00 committed by GitHub
commit 8e0ecf9b3a

View file

@ -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;