aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/ST/lsm6dsl.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2019-01-27 14:59:38 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2019-01-27 14:59:38 +0000
commit8c3fc64559b6d0c72a80ee9ced18b307a0820f03 (patch)
treecb3c880bf771a437f341b72a29c6b99dddce1068 /os/ex/ST/lsm6dsl.h
parentd149331e119fc733bc8484b01e947bc7c35bb587 (diff)
downloadChibiOS-8c3fc64559b6d0c72a80ee9ced18b307a0820f03.tar.gz
ChibiOS-8c3fc64559b6d0c72a80ee9ced18b307a0820f03.tar.bz2
ChibiOS-8c3fc64559b6d0c72a80ee9ced18b307a0820f03.zip
Updated testes/STM32/STM32F4xx demos for STM32F4 Discovery to be compliant with new project organization/makefile mechanisms
Batch review of *_USE_ADVANCED macros git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12618 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex/ST/lsm6dsl.h')
-rw-r--r--os/ex/ST/lsm6dsl.h32
1 files changed, 5 insertions, 27 deletions
diff --git a/os/ex/ST/lsm6dsl.h b/os/ex/ST/lsm6dsl.h
index 0ad2d4143..9ed1ac70e 100644
--- a/os/ex/ST/lsm6dsl.h
+++ b/os/ex/ST/lsm6dsl.h
@@ -43,7 +43,7 @@
/**
* @brief LSM6DSL driver version string.
*/
-#define EX_LSM6DSL_VERSION "1.0.0"
+#define EX_LSM6DSL_VERSION "1.0.1"
/**
* @brief LSM6DSL driver version major number.
@@ -58,7 +58,7 @@
/**
* @brief LSM6DSL driver version patch number.
*/
-#define EX_LSM6DSL_PATCH 0
+#define EX_LSM6DSL_PATCH 1
/** @} */
/**
@@ -408,26 +408,6 @@
#endif
/**
- * @brief LSM6DSL accelerometer subsystem advanced configurations
- * switch.
- * @details If set to @p TRUE more configurations are available.
- * @note The default is @p FALSE.
- */
-#if !defined(LSM6DSL_ACC_USE_ADVANCED) || defined(__DOXYGEN__)
-#define LSM6DSL_ACC_USE_ADVANCED FALSE
-#endif
-
-/**
- * @brief LSM6DSL gyroscope subsystem advanced configurations
- * switch.
- * @details If set to @p TRUE more configurations are available.
- * @note The default is @p FALSE.
- */
-#if !defined(LSM6DSL_GYRO_USE_ADVANCED) || defined(__DOXYGEN__)
-#define LSM6DSL_GYRO_USE_ADVANCED FALSE
-#endif
-
-/**
* @brief Number of acquisitions for gyroscope bias removal.
* @details This is the number of acquisitions performed to compute the
* bias. A repetition is required in order to remove noise.
@@ -651,12 +631,12 @@ typedef struct {
* @brief LSM6DSL accelerometer subsystem output data rate.
*/
lsm6dsl_acc_odr_t accoutdatarate;
-#if LSM6DSL_ACC_USE_ADVANCED || defined(__DOXYGEN__)
+#if LSM6DSL_USE_ADVANCED || defined(__DOXYGEN__)
/**
* @brief LSM6DSL accelerometer subsystem low power mode.
*/
lsm6dsl_acc_lp_t acclpmode;
-#endif /* LSM6DSL_ACC_USE_ADVANCED */
+#endif /* LSM6DSL_USE_ADVANCED */
/**
* @brief LSM6DSL gyroscope subsystem initial sensitivity.
*/
@@ -673,7 +653,7 @@ typedef struct {
* @brief LSM6DSL gyroscope subsystem output data rate.
*/
lsm6dsl_gyro_odr_t gyrooutdatarate;
-#if LSM6DSL_GYRO_USE_ADVANCED || defined(__DOXYGEN__)
+#if LSM6DSL_USE_ADVANCED || defined(__DOXYGEN__)
/**
* @brief LSM6DSL gyroscope subsystem low mode configuration.
*/
@@ -682,8 +662,6 @@ typedef struct {
* @brief LSM6DSL gyroscope subsystem low pass filter configuration.
*/
lsm6dsl_gyro_lpf_t gyrolowpassfilter;
-#endif /* LSM6DSL_GYRO_USE_ADVANCED */
-#if (LSM6DSL_USE_ADVANCED) || defined(__DOXYGEN__)
/**
* @brief LSM6DSL block data update
*/