diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-05-12 16:56:39 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-05-12 16:56:39 +0000 |
commit | ed9ebb8f86cde08e1fd4b720a747df2e2031d08c (patch) | |
tree | 2318d7124bf446f6121faacd0ff597b3fde2bf5c | |
parent | d9c4509e94b5c66c190396711a8217c8a67335bb (diff) | |
download | ChibiOS-ed9ebb8f86cde08e1fd4b720a747df2e2031d08c.tar.gz ChibiOS-ed9ebb8f86cde08e1fd4b720a747df2e2031d08c.tar.bz2 ChibiOS-ed9ebb8f86cde08e1fd4b720a747df2e2031d08c.zip |
Small fixes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9469 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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 **
|