//#define DEBUG
#ifdef DEBUG
-#define LWIP_PLATFORM_DIAG(expr)
+#define LWIP_PLATFORM_DIAG(expr) LWIP_PLATFORM_ASSERT(expr)
//extern void __error__(char *pcFilename, unsigned long ulLine);
-extern int32_t rpp_sci_printf(const char* format, ...);
-#define LWIP_PLATFORM_ASSERT(expr) rpp_sci_printf((const char *) expr)
+extern int32_t rpp_sci_printkb(const char* format, ...);
+#define LWIP_PLATFORM_ASSERT(expr) rpp_sci_printkb((const char *) expr)
/*
{ \
if(!(expr)) \