diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-01-14 11:19:39 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-01-14 11:19:39 +0000 |
commit | b28c62685d857b55dd8bc7e759a9f93ab0a51632 (patch) | |
tree | cc3285cdd4c1b4ec07340784f0c9087efa5c9a02 /testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c | |
parent | f6b807fd5a089607a1e21dbcad3c060363650fa1 (diff) | |
download | ChibiOS-b28c62685d857b55dd8bc7e759a9f93ab0a51632.tar.gz ChibiOS-b28c62685d857b55dd8bc7e759a9f93ab0a51632.tar.bz2 ChibiOS-b28c62685d857b55dd8bc7e759a9f93ab0a51632.zip |
Updated EX demos to be compliant with latest ChibiOS/HAL edit
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11273 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c')
-rw-r--r-- | testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c index b7fa1a455..e8e1f3eaa 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c +++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c @@ -46,11 +46,11 @@ static const I2CConfig i2ccfg = { };
static const LSM303DLHCAccConfig lsm303dlhcacccfg = {
- NULL, /* Use default sensitivity.*/
- NULL, /* Use default bias.*/
- LSM303DLHC_ACC_FS_4G, /* Full scale value 2g.*/
- LSM303DLHC_ACC_ODR_100Hz, /* Output data rate 100 Hz.*/
-#if LSM303DLHC_ACC_USE_ADVANCED || defined(__DOXYGEN__)
+ NULL,
+ NULL,
+ LSM303DLHC_ACC_FS_4G,
+ LSM303DLHC_ACC_ODR_100Hz,
+#if LSM303DLHC_ACC_USE_ADVANCED
LSM303DLHC_ACC_LP_DISABLED,
LSM303DLHC_ACC_HR_DISABLED,
LSM303DLHC_ACC_BDU_BLOCK,
|