diff --git a/Ubiquitous/XiZi_AIoT/services/net/net_server/include/arch/lwipopts.h b/Ubiquitous/XiZi_AIoT/services/net/net_server/include/arch/lwipopts.h index b4e8e6d07..9d7cdd406 100644 --- a/Ubiquitous/XiZi_AIoT/services/net/net_server/include/arch/lwipopts.h +++ b/Ubiquitous/XiZi_AIoT/services/net/net_server/include/arch/lwipopts.h @@ -202,6 +202,5 @@ ing and verifying the IP, UDP, TCP and ICMP checksums by hardware: ---------- Lwip Debug options ---------- ---------------------------------------- */ -#define LWIP_DEBUG 1 #endif /* LWIP_LWIPOPTS_H */ diff --git a/Ubiquitous/XiZi_AIoT/services/net/net_server/include/lwip/arch.h b/Ubiquitous/XiZi_AIoT/services/net/net_server/include/lwip/arch.h index 8baa89dd8..1235f80f9 100644 --- a/Ubiquitous/XiZi_AIoT/services/net/net_server/include/lwip/arch.h +++ b/Ubiquitous/XiZi_AIoT/services/net/net_server/include/lwip/arch.h @@ -78,7 +78,7 @@ * systems, this should be defined to something less resource-consuming. */ #ifndef LWIP_PLATFORM_DIAG -#define LWIP_PLATFORM_DIAG(x) do {KPrintf x;} while(0) +#define LWIP_PLATFORM_DIAG(x) do {printf(x);} while(0) // #include #include #endif @@ -89,7 +89,7 @@ * systems, this should be defined to something less resource-consuming. */ #ifndef LWIP_PLATFORM_ASSERT -#define LWIP_PLATFORM_ASSERT(x) do {KPrintf("Assertion \"%s\" failed at line %d in %s\n", \ +#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \ x, __LINE__, __FILE__); fflush(NULL); abort();} while(0) #include #include