소스 검색

[lwIP] Fix the usage issue of NETIF_LINK_CALLBACK.

bernard 11 년 전
부모
커밋
b0c94dc4d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/net/lwip-1.4.1/src/arch/sys_arch.c

+ 1 - 1
components/net/lwip-1.4.1/src/arch/sys_arch.c

@@ -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