From 86acf7daf6a6f867964e7d736b21ee923ab66ebe Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 5 Nov 2008 21:43:21 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@500 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/debug.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/include/debug.h b/src/include/debug.h index 245e4dced..783709062 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -57,7 +57,6 @@ extern char *dbglastmsg; extern "C" { #endif void chDbgInit(void); - void chDbgPuts(char *msg); void chDbgPanic(char *msg); #ifdef __cplusplus } @@ -80,7 +79,7 @@ extern "C" { #define chDbgInit() #define chDbgPanic(msg) {} -#define chDbgAssert(c, m) {} +#define chDbgAssert(c, m) {(void)(c);} #endif /* CH_USE_DEBUG */ -- cgit v1.2.3