Sfoglia il codice sorgente

Merge pull request #22 from qgyhd1234/mbed

[修改]:解除lwip依赖
朱天龙 (Armink) 7 anni fa
parent
commit
34e75a4cd1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      ports/src/tls_net.c

+ 2 - 2
ports/src/tls_net.c

@@ -27,7 +27,7 @@
 #include MBEDTLS_CONFIG_FILE
 #endif
 
-#if defined(RT_USING_LWIP)
+
 
 #include "tls_net.h"
 
@@ -638,4 +638,4 @@ void mbedtls_net_free( mbedtls_net_context *ctx )
     ctx->fd = -1;
 }
 
-#endif /* MBEDTLS_NET_C */
+