modify lwip/arch.h
This commit is contained in:
parent
3cec54bf5f
commit
b2022bac12
|
@ -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 */
|
||||
|
|
|
@ -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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue