git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11758 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
1c189bf60b
commit
86ed98b30a
|
@ -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
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue