diff options
Diffstat (limited to 'os/rt/include/chdebug.h')
-rw-r--r-- | os/rt/include/chdebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/rt/include/chdebug.h b/os/rt/include/chdebug.h index 2e4b846f3..a839813d7 100644 --- a/os/rt/include/chdebug.h +++ b/os/rt/include/chdebug.h @@ -192,7 +192,9 @@ typedef struct { #if !defined(chDbgAssert)
#if CH_DBG_ENABLE_ASSERTS == TRUE
#define chDbgAssert(c, r) do { \
+ /*lint -save -e506 -e774 [2.1, 14.3] Can be a constant.*/ \
if (!(c)) { \
+ /*lint -restore*/ \
chSysHalt(__func__); \
} \
} while (false)
|