lowpan6_ble.c: fixed whitespace & indentation

This commit is contained in:
goldsimon 2018-02-23 13:08:00 +01:00
parent 10209ee788
commit 69eaafecca

View File

@ -111,8 +111,11 @@ void ble_addr_to_eui64(uint8_t *dst, uint8_t *src, uint8_t public_addr)
dst[4] = 0xFE;
memcpy(&dst[5], &src[3], 3);
#if LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS
if(public_addr) dst[0] &= ~0x02;
else dst[0] |= 0x02;
if(public_addr) {
dst[0] &= ~0x02;
} else {
dst[0] |= 0x02;
}
#endif
}