aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-03 18:23:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-03 18:23:54 +0000
commit21fa4d3249f91c97a5fe4a958b681ea1352ff5df (patch)
tree09b62ab000d655075cd8089e35bd45c45dd4c182 /os
parentec9736a27d1572f1a8357cae3dd56470f00af974 (diff)
downloadChibiOS-21fa4d3249f91c97a5fe4a958b681ea1352ff5df.tar.gz
ChibiOS-21fa4d3249f91c97a5fe4a958b681ea1352ff5df.tar.bz2
ChibiOS-21fa4d3249f91c97a5fe4a958b681ea1352ff5df.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4391 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/kernel/include/chdebug.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/os/kernel/include/chdebug.h b/os/kernel/include/chdebug.h
index d4e257238..358e7b04d 100644
--- a/os/kernel/include/chdebug.h
+++ b/os/kernel/include/chdebug.h
@@ -153,15 +153,15 @@ extern ch_trace_buffer_t dbg_trace_buffer;
* @api
*/
#if !defined(chDbgCheck)
-#define chDbgCheck(c, func) { \
- if (!(c)) \
- chDbgPanic(__QUOTE_THIS(func)"()"); \
+#define chDbgCheck(c, func) { \
+ if (!(c)) \
+ chDbgPanic(__QUOTE_THIS(func)"()"); \
}
#endif /* !defined(chDbgCheck) */
/** @} */
#else /* !CH_DBG_ENABLE_CHECKS */
-#define chDbgCheck(c, func) { \
- (void)(c), (void)__QUOTE_THIS(func)"()"; \
+#define chDbgCheck(c, func) { \
+ (void)(c), (void)__QUOTE_THIS(func)"()"; \
}
#endif /* !CH_DBG_ENABLE_CHECKS */
@@ -192,9 +192,9 @@ extern ch_trace_buffer_t dbg_trace_buffer;
* @api
*/
#if !defined(chDbgAssert)
-#define chDbgAssert(c, m, r) { \
- if (!(c)) \
- chDbgPanic(m); \
+#define chDbgAssert(c, m, r) { \
+ if (!(c)) \
+ chDbgPanic(m); \
}
#endif /* !defined(chDbgAssert) */
/** @} */