diff options
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LSM303AGR')
-rw-r--r-- | testex/STM32/STM32F4xx/I2C-LSM303AGR/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303AGR/main.c b/testex/STM32/STM32F4xx/I2C-LSM303AGR/main.c index d2c7d6b01..e042c2eeb 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303AGR/main.c +++ b/testex/STM32/STM32F4xx/I2C-LSM303AGR/main.c @@ -51,7 +51,7 @@ static const LSM303AGRConfig lsm303agrcfg = { NULL,
LSM303AGR_ACC_FS_4G,
LSM303AGR_ACC_ODR_100Hz,
-#if LSM303AGR_ACC_USE_ADVANCED
+#if LSM303AGR_USE_ADVANCED
LSM303AGR_ACC_MODE_LPOW,
LSM303AGR_ACC_BDU_BLOCK,
LSM303AGR_ACC_END_LITTLE,
@@ -59,7 +59,7 @@ static const LSM303AGRConfig lsm303agrcfg = { NULL,
NULL,
LSM303AGR_COMP_ODR_50HZ,
-#if LSM303AGR_COMP_USE_ADVANCED
+#if LSM303AGR_USE_ADVANCED
LSM303AGR_COMP_MODE_NORM,
LSM303AGR_COMP_LPOW_EN
#endif
|