X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lwip.git/blobdiff_plain/77ca1f39d0b86655754e46ef9ae1a485ed530704..128181a7bed54c909a61829796ebbe577d725ed6:/src/include/arch/cc.h diff --git a/src/include/arch/cc.h b/src/include/arch/cc.h index 819db79a..68e69de0 100644 --- a/src/include/arch/cc.h +++ b/src/include/arch/cc.h @@ -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)) \