From 86ed98b30ac09c73f346bf97558cea7fa9b4e764 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Wed, 14 Mar 2018 20:47:25 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11758 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/ex/ST/lis3dsh.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/os/ex/ST/lis3dsh.h b/os/ex/ST/lis3dsh.h index 1f83027a7..eb67580e8 100644 --- a/os/ex/ST/lis3dsh.h +++ b/os/ex/ST/lis3dsh.h @@ -297,10 +297,10 @@ /** * @brief LIS3DSH SPI interface switch. * @details If set to @p TRUE the support for SPI is included. - * @note The default is @p FALSE. + * @note The default is @p TRUE. */ #if !defined(LIS3DSH_USE_SPI) || defined(__DOXYGEN__) -#define LIS3DSH_USE_SPI FALSE +#define LIS3DSH_USE_SPI TRUE #endif /** @@ -316,10 +316,10 @@ /** * @brief LIS3DSH I2C interface switch. * @details If set to @p TRUE the support for I2C is included. - * @note The default is @p TRUE. + * @note The default is @p FALSE. */ #if !defined(LIS3DSH_USE_I2C) || defined(__DOXYGEN__) -#define LIS3DSH_USE_I2C TRUE +#define LIS3DSH_USE_I2C FALSE #endif /** @@ -368,10 +368,10 @@ #endif /** - * @todo Add support for LIS3DSH over SPI. + * @todo Add support for LIS3DSH over I2C. */ -#if LIS3DSH_USE_SPI -#error "LIS3DSH over SPI still not supported" +#if LIS3DSH_USE_I2C +#error "LIS3DSH over I2C still not supported" #endif /*===========================================================================*/ -- cgit v1.2.3