aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32L4xx/I2C-LIS3MLD
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-20 16:03:34 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-20 16:03:34 +0000
commit29ad4508ef7acac4433f64e25fb84c374e47df16 (patch)
tree57b1734ee6873152ee5df876e55f0dd72ebe7f21 /testex/STM32/STM32L4xx/I2C-LIS3MLD
parentaf642c52234070aa4917074406746eed1f173b56 (diff)
downloadChibiOS-29ad4508ef7acac4433f64e25fb84c374e47df16.tar.gz
ChibiOS-29ad4508ef7acac4433f64e25fb84c374e47df16.tar.bz2
ChibiOS-29ad4508ef7acac4433f64e25fb84c374e47df16.zip
Updated LIS3MDL and LSM6DS0 related demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9931 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testex/STM32/STM32L4xx/I2C-LIS3MLD')
-rw-r--r--testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c b/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c
index 5a8d68880..fa767e48a 100644
--- a/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c
+++ b/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c
@@ -46,8 +46,8 @@ static const I2CConfig i2ccfg = {
static LIS3MDLConfig LIS3MDLcfg = {
&I2CD1, /* Pointer to I2C Driver.*/
&i2ccfg, /* Pointer to I2C Configuration.*/
- {0, 0, 0}, /* Use default sensitivity.*/
- {0, 0, 0}, /* Use default bias.*/
+ NULL, /* Use default sensitivity.*/
+ NULL, /* Use default bias.*/
LIS3MDL_SAD_VCC, /* Slave address.*/
LIS3MDL_FS_4GA, /* Full scale value.*/
LIS3MDL_ODR_40HZ, /* Output data rate.*/