aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-14 20:47:25 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-14 20:47:25 +0000
commit86ed98b30ac09c73f346bf97558cea7fa9b4e764 (patch)
treeb099a66facd5d597218b94a58d063f0ef6847731 /os/ex
parent1c189bf60bafb0069eef6d026eb2b049b1b886b9 (diff)
downloadChibiOS-86ed98b30ac09c73f346bf97558cea7fa9b4e764.tar.gz
ChibiOS-86ed98b30ac09c73f346bf97558cea7fa9b4e764.tar.bz2
ChibiOS-86ed98b30ac09c73f346bf97558cea7fa9b4e764.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11758 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex')
-rw-r--r--os/ex/ST/lis3dsh.h14
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
/*===========================================================================*/