diff options
Diffstat (limited to 'os/hal/templates/hal_i2s_lld.c')
-rw-r--r-- | os/hal/templates/hal_i2s_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/templates/hal_i2s_lld.c b/os/hal/templates/hal_i2s_lld.c index 7424a663a..0321d6464 100644 --- a/os/hal/templates/hal_i2s_lld.c +++ b/os/hal/templates/hal_i2s_lld.c @@ -24,7 +24,7 @@ #include "hal.h"
-#if HAL_USE_I2S || defined(__DOXYGEN__)
+#if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
@@ -35,7 +35,7 @@ /*===========================================================================*/
/** @brief I2S2 driver identifier.*/
-#if PLATFORM_I2S_USE_I2S1 || defined(__DOXYGEN__)
+#if (PLATFORM_I2S_USE_I2S1 == TRUE) || defined(__DOXYGEN__)
I2SDriver I2SD1;
#endif
|