Ver código fonte

fix netif name length config. (#8356)

geniusgogo 1 ano atrás
pai
commit
896c4a5b99
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      components/net/lwip/port/lwipopts.h

+ 1 - 1
components/net/lwip/port/lwipopts.h

@@ -583,8 +583,8 @@
 #ifdef RT_LWIP_NETIF_NAMESIZE
 #if (RT_LWIP_NETIF_NAMESIZE < 2)
 #warning NETIF_NAMESIZE too small, the value must be greater than or equal to 6.
-#define NETIF_NAMESIZE                  RT_LWIP_NETIF_NAMESIZE
 #endif
+#define NETIF_NAMESIZE                  RT_LWIP_NETIF_NAMESIZE
 #endif /* RT_LWIP_NETIF_NAMESIZE */
 
 /**