diff options
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 */
/** @} */
|