From 8c3fc64559b6d0c72a80ee9ced18b307a0820f03 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sun, 27 Jan 2019 14:59:38 +0000 Subject: 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 --- testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testex/STM32/STM32F4xx/I2C-LSM6DS0') diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c b/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c index 48345bb57..51327a5c4 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c +++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c @@ -52,20 +52,20 @@ static const LSM6DS0Config lsm6ds0cfg = { NULL, LSM6DS0_ACC_FS_2G, LSM6DS0_ACC_ODR_50Hz, -#if LSM6DS0_ACC_USE_ADVANCED +#if LSM6DS0_USE_ADVANCED LSM6DS0_ACC_DEC_X4, #endif NULL, NULL, LSM6DS0_GYRO_FS_245DPS, LSM6DS0_GYRO_ODR_119HZ_FC_31, -#if LSM6DS0_GYRO_USE_ADVANCED +#if LSM6DS0_USE_ADVANCED LSM6DS0_GYRO_LP_DISABLED, LSM6DS0_GYRO_OUT_SEL_0, LSM6DS0_GYRO_HP_DISABLED, LSM6DS0_GYRO_HPCF_0, #endif -#if LSM6DS0_USE_ADVANCED || defined(__DOXYGEN__) +#if LSM6DS0_USE_ADVANCED LSM6DS0_BDU_BLOCKED, LSM6DS0_END_LITTLE #endif -- cgit v1.2.3