aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F3xx
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/STM32F3xx
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/STM32F3xx')
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c4
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c
index 5720547c5..9b4ec074b 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c
@@ -53,7 +53,7 @@ static const LSM303DLHCConfig lsm303dlhccfg = {
NULL,
LSM303DLHC_ACC_FS_4G,
LSM303DLHC_ACC_ODR_100Hz,
-#if LSM303DLHC_ACC_USE_ADVANCED
+#if LSM303DLHC_USE_ADVANCED
LSM303DLHC_ACC_LP_DISABLED,
LSM303DLHC_ACC_HR_DISABLED,
LSM303DLHC_ACC_BDU_BLOCK,
@@ -63,7 +63,7 @@ static const LSM303DLHCConfig lsm303dlhccfg = {
NULL,
LSM303DLHC_COMP_FS_1P3GA,
LSM303DLHC_COMP_ODR_30HZ,
-#if LSM303DLHC_COMP_USE_ADVANCED
+#if LSM303DLHC_USE_ADVANCED
LSM303DLHC_COMP_MD_BLOCK
#endif
};
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/main.c b/testex/STM32/STM32F3xx/SPI-L3GD20/main.c
index 79baaa44d..31379de73 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/main.c
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/main.c
@@ -51,7 +51,7 @@ static L3GD20Config l3gd20cfg = {
NULL,
L3GD20_FS_250DPS,
L3GD20_ODR_760HZ,
-#if L3GD20_GYRO_USE_ADVANCED
+#if L3GD20_USE_ADVANCED
L3GD20_BDU_CONTINUOUS,
L3GD20_END_LITTLE,
L3GD20_BW3,