mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-21 18:11:51 +08:00
[lwIP] Fix the usage issue of NETIF_LINK_CALLBACK.
This commit is contained in:
@@ -108,7 +108,7 @@ static void tcpip_init_done_callback(void *arg)
|
||||
netif_set_up(ethif->netif);
|
||||
}
|
||||
|
||||
#ifdef LWIP_NETIF_LINK_CALLBACK
|
||||
#if LWIP_NETIF_LINK_CALLBACK
|
||||
netif_set_link_up(ethif->netif);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user