aboutsummaryrefslogtreecommitdiffstats
path: root/os/nil/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-06 14:22:26 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-06 14:22:26 +0000
commitb02dcc6d42f1c2c00b4e0841872b0c572aa10ee9 (patch)
tree3a055db4598cd0379828272f1e23e9debc9e57cf /os/nil/include
parent4df2f81372b3f87b0e9bc254cec48d864e3a18a9 (diff)
downloadChibiOS-b02dcc6d42f1c2c00b4e0841872b0c572aa10ee9.tar.gz
ChibiOS-b02dcc6d42f1c2c00b4e0841872b0c572aa10ee9.tar.bz2
ChibiOS-b02dcc6d42f1c2c00b4e0841872b0c572aa10ee9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7142 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/nil/include')
-rw-r--r--os/nil/include/nil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/nil/include/nil.h b/os/nil/include/nil.h
index 29ac77b3b..f815b2153 100644
--- a/os/nil/include/nil.h
+++ b/os/nil/include/nil.h
@@ -256,7 +256,7 @@ typedef struct nil_thread thread_t;
"be zero or greater than one"
#endif
-#if NIL_CFG_ENABLE_ASSERTS
+#if NIL_CFG_ENABLE_ASSERTS || NIL_CFG_ENABLE_STACK_CHECK
#define NIL_DBG_ENABLED TRUE
#else
#define NIL_DBG_ENABLED FALSE