aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/debug.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-05 21:43:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-05 21:43:21 +0000
commit86acf7daf6a6f867964e7d736b21ee923ab66ebe (patch)
tree5191391b2dd2296c08d6421e2ed77332bd0c8243 /src/include/debug.h
parent48d294c62faa98341ff461decdd74b5f8c5f12d2 (diff)
downloadChibiOS-86acf7daf6a6f867964e7d736b21ee923ab66ebe.tar.gz
ChibiOS-86acf7daf6a6f867964e7d736b21ee923ab66ebe.tar.bz2
ChibiOS-86acf7daf6a6f867964e7d736b21ee923ab66ebe.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@500 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/debug.h')
-rw-r--r--src/include/debug.h3
1 files changed, 1 insertions, 2 deletions
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 */