diff options
Diffstat (limited to 'os/hal/include/i2s.h')
-rw-r--r-- | os/hal/include/i2s.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/i2s.h b/os/hal/include/i2s.h index 4489d2cbf..b50cb7d6f 100644 --- a/os/hal/include/i2s.h +++ b/os/hal/include/i2s.h @@ -28,7 +28,7 @@ #ifndef _I2S_H_
#define _I2S_H_
-#if HAL_USE_I2S || defined(__DOXYGEN__)
+#if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
@@ -163,7 +163,7 @@ extern "C" { }
#endif
-#endif /* HAL_USE_I2S */
+#endif /* HAL_USE_I2S == TRUE */
#endif /* _I2S_H_ */
|