提交 b0c94dc4 编写于 作者: B bernard

[lwIP] Fix the usage issue of NETIF_LINK_CALLBACK.

上级 ee78b619
...@@ -108,7 +108,7 @@ static void tcpip_init_done_callback(void *arg) ...@@ -108,7 +108,7 @@ static void tcpip_init_done_callback(void *arg)
netif_set_up(ethif->netif); netif_set_up(ethif->netif);
} }
#ifdef LWIP_NETIF_LINK_CALLBACK #if LWIP_NETIF_LINK_CALLBACK
netif_set_link_up(ethif->netif); netif_set_link_up(ethif->netif);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册