optimize LWIP demo and OPCua demo

This commit is contained in:
wlyu
2021-12-31 14:37:57 +08:00
parent 372c097688
commit 7c0b7367d1
8 changed files with 250 additions and 155 deletions
@@ -90,7 +90,7 @@
* systems, this should be defined to something less resource-consuming.
*/
#ifndef LWIP_PLATFORM_ASSERT
#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
#define LWIP_PLATFORM_ASSERT(x) do {KPrintf("Assertion \"%s\" failed at line %d in %s\n", \
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)
#include <stdio.h>
#include <stdlib.h>