aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/I2C-LPS25H/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/I2C-LPS25H/main.c')
-rw-r--r--testhal/STM32/STM32F4xx/I2C-LPS25H/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F4xx/I2C-LPS25H/main.c b/testhal/STM32/STM32F4xx/I2C-LPS25H/main.c
index c31fef938..b708fe6d2 100644
--- a/testhal/STM32/STM32F4xx/I2C-LPS25H/main.c
+++ b/testhal/STM32/STM32F4xx/I2C-LPS25H/main.c
@@ -42,8 +42,8 @@ static const I2CConfig i2ccfg = {
static const LPS25HConfig lps25hcfg = {
&I2CD1,
&i2ccfg,
- 0, /* Use default sensitivity.*/
- 0, /* Use default bias.*/
+ 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__)