diff options
Diffstat (limited to 'testhal/STM32/STM32F4xx/SPI-LIS302DL/main.c')
-rw-r--r-- | testhal/STM32/STM32F4xx/SPI-LIS302DL/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F4xx/SPI-LIS302DL/main.c b/testhal/STM32/STM32F4xx/SPI-LIS302DL/main.c index 2ce99ef8e..a72814c3d 100644 --- a/testhal/STM32/STM32F4xx/SPI-LIS302DL/main.c +++ b/testhal/STM32/STM32F4xx/SPI-LIS302DL/main.c @@ -48,8 +48,8 @@ static const SPIConfig spicfg = { static LIS302DLConfig l3gd20cfg = {
&SPID1, /* Pointer to SPI Driver.*/
&spicfg, /* Pointer to SPI Configuration.*/
- {0, 0, 0}, /* Use default sensitivity.*/
- {0, 0, 0}, /* Use default bias.*/
+ NULL, /* Use default sensitivity.*/
+ NULL, /* Use default bias.*/
LIS302DL_FS_2G, /* Full scale value.*/
LIS302DL_ODR_100HZ, /* Output data rate.*/
#if LIS302DL_USE_ADVANCED || defined(__DOXYGEN__)
|