Fix some warnings found in build testing.
This commit is contained in:
parent
920bb9dec8
commit
c4dfb76b0d
@ -48,8 +48,8 @@
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
#undef HAVE_PWR_WKUP2 1
|
||||
#undef HAVE_PWR_WKUP3 1
|
||||
#undef HAVE_PWR_WKUP2
|
||||
#undef HAVE_PWR_WKUP3
|
||||
|
||||
/* Register Offsets *****************************************************************/
|
||||
|
||||
|
@ -49,7 +49,7 @@ ifeq ($(CONFIG_STM32_OTGFS),y)
|
||||
CSRCS += stm32_usb.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST),y)
|
||||
ifeq ($(CONFIG_STM32_USBHOST),y)
|
||||
CSRCS += stm32_usbhost.c
|
||||
endif
|
||||
|
||||
|
@ -423,7 +423,6 @@ static void uncompress_addr(FAR const struct netdev_varaddr_s *addr,
|
||||
FAR net_ipv6addr_t ipaddr)
|
||||
{
|
||||
FAR const uint8_t *srcptr;
|
||||
bool fullmac = false;
|
||||
bool usemac = (prefpost & UNCOMPRESS_MACBASED) != 0;
|
||||
uint8_t prefcount = UNCOMPRESS_PREFLEN(prefpost);
|
||||
uint8_t postcount = UNCOMPRESS_POSTLEN(prefpost);
|
||||
|
Loading…
Reference in New Issue
Block a user