lowpan6_ble: Fix build warning if LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS==0

Fix unused parameter ‘public_addr’ build warning if
LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS==0.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
Axel Lin 2018-02-25 12:05:24 +08:00
parent 7697a45405
commit 265f6f5047

View File

@ -116,6 +116,8 @@ void ble_addr_to_eui64(uint8_t *dst, uint8_t *src, uint8_t public_addr)
} else {
dst[0] |= 0x02;
}
#else
LWIP_UNUSED_ARG(public_addr);
#endif
}