aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c')
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
index 15b530064..723d4be3d 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
@@ -52,7 +52,7 @@ static const LSM303DLHCConfig lsm303dlhccfg = {
NULL,
LSM303DLHC_ACC_FS_4G,
LSM303DLHC_ACC_ODR_100Hz,
-#if LSM303DLHC_ACC_USE_ADVANCED
+#if LSM303DLHC_USE_ADVANCED
LSM303DLHC_ACC_LP_DISABLED,
LSM303DLHC_ACC_HR_DISABLED,
LSM303DLHC_ACC_BDU_BLOCK,
@@ -62,7 +62,7 @@ static const LSM303DLHCConfig lsm303dlhccfg = {
NULL,
LSM303DLHC_COMP_FS_1P3GA,
LSM303DLHC_COMP_ODR_30HZ,
-#if LSM303DLHC_COMP_USE_ADVANCED
+#if LSM303DLHC_USE_ADVANCED
LSM303DLHC_COMP_MD_BLOCK
#endif
};