diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-05 21:28:51 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-05 21:28:51 +0000 |
commit | b53489d0e4252aafe5ada7466e0b3b7c4ad5aaaf (patch) | |
tree | 2efd9ba0b52dfed9daefb6eb4d6b86b073776a21 /os/rt/include/chtm.h | |
parent | 880d6916b3fb25b3972ed78b380db630524623e7 (diff) | |
download | ChibiOS-b53489d0e4252aafe5ada7466e0b3b7c4ad5aaaf.tar.gz ChibiOS-b53489d0e4252aafe5ada7466e0b3b7c4ad5aaaf.tar.bz2 ChibiOS-b53489d0e4252aafe5ada7466e0b3b7c4ad5aaaf.zip |
Lots of MISRA-related changes in RT. Not finished yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7715 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chtm.h')
-rw-r--r-- | os/rt/include/chtm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/include/chtm.h b/os/rt/include/chtm.h index d6693869e..e072ff33e 100644 --- a/os/rt/include/chtm.h +++ b/os/rt/include/chtm.h @@ -28,7 +28,7 @@ #ifndef _CHTM_H_
#define _CHTM_H_
-#if CH_CFG_USE_TM || defined(__DOXYGEN__)
+#if (CH_CFG_USE_TM == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Module constants. */
@@ -42,7 +42,7 @@ /* Derived constants and error checks. */
/*===========================================================================*/
-#if !PORT_SUPPORTS_RT
+#if PORT_SUPPORTS_RT == FALSE
#error "CH_CFG_USE_TM requires PORT_SUPPORTS_RT"
#endif
@@ -102,7 +102,7 @@ extern "C" { /* Module inline functions. */
/*===========================================================================*/
-#endif /* CH_CFG_USE_TM */
+#endif /* CH_CFG_USE_TM == TRUE */
#endif /* _CHTM_H_ */
|