diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-03-14 13:33:28 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-03-14 13:33:28 +0000 |
commit | a93e28fe3ded7af8deca9da9dea8d718e2d3a993 (patch) | |
tree | 7c9ba67c24035a4acec7124f496ca92882a9a1ff /src/include | |
parent | dbf48157fb9841ec6ccfcfab01f70eefe8f498ce (diff) | |
download | ChibiOS-a93e28fe3ded7af8deca9da9dea8d718e2d3a993.tar.gz ChibiOS-a93e28fe3ded7af8deca9da9dea8d718e2d3a993.tar.bz2 ChibiOS-a93e28fe3ded7af8deca9da9dea8d718e2d3a993.zip |
Documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@850 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index 3c51f0837..27f316188 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -78,7 +78,7 @@ typedef struct { * Function parameter check, if the condition check fails then the kernel
* panics.
* @param c the condition to be verified to be true
- * @param m the undecorated function name
+ * @param func the undecorated function name
* @note The condition is tested only if the @p CH_DBG_ENABLE_CHECKS switch is
* specified in @p chconf.h else the macro does nothing.
*/
@@ -115,6 +115,8 @@ typedef struct { #endif /* !CH_DBG_ENABLE_ASSERTS */
#if !(CH_DBG_ENABLE_ASSERTS || CH_DBG_ENABLE_CHECKS || CH_DBG_ENABLE_STACK_CHECK)
+/* When the debug features are disabled this function is replaced by an empty
+ * macro.*/
#define chDbgPanic(msg) {}
#endif
|