Documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@850 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
dbf48157fb
commit
a93e28fe3d
|
@ -1311,6 +1311,7 @@ PREDEFINED = __DOXYGEN__ \
|
||||||
CH_USE_MESSAGES_EVENT=1 \
|
CH_USE_MESSAGES_EVENT=1 \
|
||||||
CH_USE_DYNAMIC=1 \
|
CH_USE_DYNAMIC=1 \
|
||||||
CH_DBG_ENABLE_ASSERTS=1 \
|
CH_DBG_ENABLE_ASSERTS=1 \
|
||||||
|
CH_DBG_ENABLE_CHECKS=1 \
|
||||||
CH_DBG_ENABLE_TRACE=1 \
|
CH_DBG_ENABLE_TRACE=1 \
|
||||||
CH_DBG_ENABLE_STACK_CHECK=1 \
|
CH_DBG_ENABLE_STACK_CHECK=1 \
|
||||||
CH_DBG_FILL_THREADS=1 \
|
CH_DBG_FILL_THREADS=1 \
|
||||||
|
|
|
@ -78,7 +78,7 @@ typedef struct {
|
||||||
* Function parameter check, if the condition check fails then the kernel
|
* Function parameter check, if the condition check fails then the kernel
|
||||||
* panics.
|
* panics.
|
||||||
* @param c the condition to be verified to be true
|
* @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
|
* @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.
|
* specified in @p chconf.h else the macro does nothing.
|
||||||
*/
|
*/
|
||||||
|
@ -115,6 +115,8 @@ typedef struct {
|
||||||
#endif /* !CH_DBG_ENABLE_ASSERTS */
|
#endif /* !CH_DBG_ENABLE_ASSERTS */
|
||||||
|
|
||||||
#if !(CH_DBG_ENABLE_ASSERTS || CH_DBG_ENABLE_CHECKS || CH_DBG_ENABLE_STACK_CHECK)
|
#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) {}
|
#define chDbgPanic(msg) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue