diff options
-rw-r--r-- | os/ex/ST/lis302dl.c | 1 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/SPI-LIS302DL/readme.txt | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/os/ex/ST/lis302dl.c b/os/ex/ST/lis302dl.c index c0ce0988b..cd39e15c4 100644 --- a/os/ex/ST/lis302dl.c +++ b/os/ex/ST/lis302dl.c @@ -370,7 +370,6 @@ void lis302dlStart(LIS302DLDriver *devp, const LIS302DLConfig *config) { spiStart((devp)->config->spip, (devp)->config->spicfg); lis302dlSPIWriteRegister(devp->config->spip, LIS302DL_AD_CTRL_REG1, - devp->config->axesenabling | LIS302DL_PM_SLEEP_NORMAL | devp->config->axesenabling | devp->config->fullscale | diff --git a/testhal/STM32/STM32F4xx/SPI-LIS302DL/readme.txt b/testhal/STM32/STM32F4xx/SPI-LIS302DL/readme.txt index 6417a8d7f..354fff29a 100644 --- a/testhal/STM32/STM32F4xx/SPI-LIS302DL/readme.txt +++ b/testhal/STM32/STM32F4xx/SPI-LIS302DL/readme.txt @@ -1,5 +1,5 @@ *****************************************************************************
-** ChibiOS/HAL + ChibiOS/EX - SPI + LIS302L demo for STM32F4xx. **
+** ChibiOS/HAL + ChibiOS/EX - SPI + LIS302L demo for STM32F4xx. **
*****************************************************************************
** TARGET **
|