From ed9ebb8f86cde08e1fd4b720a747df2e2031d08c Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Thu, 12 May 2016 16:56:39 +0000 Subject: Small fixes git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9469 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ex/ST/lis302dl.c | 1 - testhal/STM32/STM32F4xx/SPI-LIS302DL/readme.txt | 2 +- 2 files changed, 1 insertion(+), 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 ** -- cgit v1.2.3