]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blobdiff - src/include/arch/cc.h
mutex protection fixed; some not well working tries to make !NO_SYS version working
[pes-rpp/rpp-lwip.git] / src / include / arch / cc.h
index 819db79ae9a0b2640e46ea084f7312b6e4ba3d6a..68e69de0ed55857a1bd036ba4c924c02a7d7b9b8 100644 (file)
@@ -118,11 +118,11 @@ typedef u32_t               mem_ptr_t;
 //#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))                         \