git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11758 110e8d01-0319-4d1e-a829-52ad28d1bb01

This commit is contained in:
Rocco Marco Guglielmi 2018-03-14 20:47:25 +00:00
parent 1c189bf60b
commit 86ed98b30a
1 changed files with 7 additions and 7 deletions

View File

@ -297,10 +297,10 @@
/** /**
* @brief LIS3DSH SPI interface switch. * @brief LIS3DSH SPI interface switch.
* @details If set to @p TRUE the support for SPI is included. * @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__) #if !defined(LIS3DSH_USE_SPI) || defined(__DOXYGEN__)
#define LIS3DSH_USE_SPI FALSE #define LIS3DSH_USE_SPI TRUE
#endif #endif
/** /**
@ -316,10 +316,10 @@
/** /**
* @brief LIS3DSH I2C interface switch. * @brief LIS3DSH I2C interface switch.
* @details If set to @p TRUE the support for I2C is included. * @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__) #if !defined(LIS3DSH_USE_I2C) || defined(__DOXYGEN__)
#define LIS3DSH_USE_I2C TRUE #define LIS3DSH_USE_I2C FALSE
#endif #endif
/** /**
@ -368,10 +368,10 @@
#endif #endif
/** /**
* @todo Add support for LIS3DSH over SPI. * @todo Add support for LIS3DSH over I2C.
*/ */
#if LIS3DSH_USE_SPI #if LIS3DSH_USE_I2C
#error "LIS3DSH over SPI still not supported" #error "LIS3DSH over I2C still not supported"
#endif #endif
/*===========================================================================*/ /*===========================================================================*/