aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2019-01-27 14:59:38 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2019-01-27 14:59:38 +0000
commit8c3fc64559b6d0c72a80ee9ced18b307a0820f03 (patch)
treecb3c880bf771a437f341b72a29c6b99dddce1068 /testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c
parentd149331e119fc733bc8484b01e947bc7c35bb587 (diff)
downloadChibiOS-8c3fc64559b6d0c72a80ee9ced18b307a0820f03.tar.gz
ChibiOS-8c3fc64559b6d0c72a80ee9ced18b307a0820f03.tar.bz2
ChibiOS-8c3fc64559b6d0c72a80ee9ced18b307a0820f03.zip
Updated testes/STM32/STM32F4xx demos for STM32F4 Discovery to be compliant with new project organization/makefile mechanisms
Batch review of *_USE_ADVANCED macros git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12618 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c')
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c b/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c
index 9cb9000b1..c96b1c0ec 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c
@@ -52,18 +52,18 @@ static const LSM6DSLConfig lsm6dslcfg = {
NULL,
LSM6DSL_ACC_FS_2G,
LSM6DSL_GYRO_ODR_52Hz,
-#if LSM6DSL_ACC_USE_ADVANCED
+#if LSM6DSL_USE_ADVANCED
LSM6DSL_ACC_LP_ENABLED,
#endif
NULL,
NULL,
LSM6DSL_GYRO_FS_250DPS,
LSM6DSL_GYRO_ODR_104Hz,
-#if LSM6DSL_GYRO_USE_ADVANCED
+#if LSM6DSL_USE_ADVANCED
LSM6DSL_GYRO_LP_ENABLED,
LSM6DSL_GYRO_LPF_FTYPE1,
#endif
-#if LSM6DSL_USE_ADVANCED || defined(__DOXYGEN__)
+#if LSM6DSL_USE_ADVANCED
LSM6DSL_BDU_BLOCKED,
LSM6DSL_END_LITTLE
#endif