aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/i2c.c')
-rw-r--r--os/hal/src/i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index 7558d6741..b432fa89f 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -28,7 +28,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_I2C || defined(__DOXYGEN__)
+#if HAL_USE_I2C || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver exported variables. */
@@ -265,6 +265,6 @@ void i2cReleaseBus(I2CDriver *i2cp) {
}
#endif /* I2C_USE_MUTUAL_EXCLUSION */
-#endif /* CH_HAL_USE_I2C */
+#endif /* HAL_USE_I2C */
/** @} */