aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c')
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c b/testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c
index a80a8b0a5..4689d15ec 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MDL/main.c
@@ -49,7 +49,7 @@ static LIS3MDLConfig lis3mdlcfg = {
NULL,
LIS3MDL_COMP_FS_4GA,
LIS3MDL_COMP_ODR_40HZ,
-#if LIS3MDL_COMP_USE_ADVANCED
+#if LIS3MDL_USE_ADVANCED
LIS3MDL_COMP_LP_ENABLED,
LIS3MDL_COMP_MD_CONTINUOUS,
LIS3MDL_COMP_OMXY_LP,