aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LPS25H/main.c')
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/main.c b/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
index 4960708d2..36440e3ac 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
@@ -42,11 +42,11 @@ static const I2CConfig i2ccfg = {
static const LPS25HConfig lps25hcfg = {
&I2CD1,
&i2ccfg,
- NULL, /* Use default sensitivity.*/
- NULL, /* Use default bias.*/
- LPS25H_SAD_VCC, /* SA0 connected to VCC */
- LPS25H_ODR_7HZ, /* Output data rate 7 Hz.*/
-#if LPS25H_USE_ADVANCED || defined(__DOXYGEN__)
+ NULL,
+ NULL,
+ LPS25H_SAD_VCC,
+ LPS25H_ODR_7HZ,
+#if LPS25H_USE_ADVANCED
LPS25H_BDU_CONTINUOUS,
LPS25H_AVGP_512,
LPS25H_AVGT_512