Browse Source

fix netif name length config. (#8356)

geniusgogo 1 năm trước cách đây
mục cha
commit
896c4a5b99
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 */
 
 /**