diff options
-rw-r--r-- | os/ex/ST/lis3dsh.h | 14 |
1 files 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
/*===========================================================================*/
|