diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-08 21:19:58 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-08 21:19:58 +0000 |
commit | ce7f7103df5f634f7b57d90e115c5824adcb68a0 (patch) | |
tree | 48064ba690d7002bb8fc7b78f3f9dd76729b785c /os/hal/src/i2s.c | |
parent | 63bf265ddf9ad40ad981c5a145c601972b91426e (diff) | |
download | ChibiOS-ce7f7103df5f634f7b57d90e115c5824adcb68a0.tar.gz ChibiOS-ce7f7103df5f634f7b57d90e115c5824adcb68a0.tar.bz2 ChibiOS-ce7f7103df5f634f7b57d90e115c5824adcb68a0.zip |
MISRA fixes for high level HAL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7738 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/i2s.c')
-rw-r--r-- | os/hal/src/i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/i2s.c b/os/hal/src/i2s.c index 0e0349a6d..b40881339 100644 --- a/os/hal/src/i2s.c +++ b/os/hal/src/i2s.c @@ -27,7 +27,7 @@ #include "hal.h"
-#if HAL_USE_I2S || defined(__DOXYGEN__)
+#if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
@@ -153,6 +153,6 @@ void i2sStopExchange(I2SDriver *i2sp) { osalSysUnlock();
}
-#endif /* HAL_USE_I2S */
+#endif /* HAL_USE_I2S == TRUE */
/** @} */
|