aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx/I2C-LSM303AGR
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-LSM303AGR
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-LSM303AGR')
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303AGR/main.c4
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