From 8c3fc64559b6d0c72a80ee9ced18b307a0820f03 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sun, 27 Jan 2019 14:59:38 +0000 Subject: 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 --- os/ex/ST/lsm303agr.h | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) (limited to 'os/ex/ST/lsm303agr.h') diff --git a/os/ex/ST/lsm303agr.h b/os/ex/ST/lsm303agr.h index 7e532ab92..89eb552f9 100644 --- a/os/ex/ST/lsm303agr.h +++ b/os/ex/ST/lsm303agr.h @@ -43,7 +43,7 @@ /** * @brief LSM303AGR driver version string. */ -#define EX_LSM303AGR_VERSION "1.0.0" +#define EX_LSM303AGR_VERSION "1.0.1" /** * @brief LSM303AGR driver version major number. @@ -58,7 +58,7 @@ /** * @brief LSM303AGR driver version patch number. */ -#define EX_LSM303AGR_PATCH 0 +#define EX_LSM303AGR_PATCH 1 /** @} */ /** @@ -348,23 +348,12 @@ #endif /** - * @brief LSM303AGR accelerometer subsystem advanced configurations - * switch. + * @brief LSM303AGR advanced configurations switch. * @details If set to @p TRUE more configurations are available. * @note The default is @p FALSE. */ -#if !defined(LSM303AGR_ACC_USE_ADVANCED) || defined(__DOXYGEN__) -#define LSM303AGR_ACC_USE_ADVANCED FALSE -#endif - -/** - * @brief LSM303AGR compass subsystem advanced configurations - * switch. - * @details If set to @p TRUE more configurations are available. - * @note The default is @p FALSE. - */ -#if !defined(LSM303AGR_COMP_USE_ADVANCED) || defined(__DOXYGEN__) -#define LSM303AGR_COMP_USE_ADVANCED FALSE +#if !defined(LSM303AGR_USE_ADVANCED) || defined(__DOXYGEN__) +#define LSM303AGR_USE_ADVANCED FALSE #endif /** @} */ @@ -549,7 +538,7 @@ typedef struct { * @brief LSM303AGR accelerometer subsystem output data rate. */ lsm303agr_acc_odr_t accoutdatarate; -#if LSM303AGR_ACC_USE_ADVANCED || defined(__DOXYGEN__) +#if LSM303AGR_USE_ADVANCED || defined(__DOXYGEN__) /** * @brief LSM303AGR accelerometer subsystem mode. */ @@ -575,7 +564,7 @@ typedef struct { * @brief LSM303AGR compass subsystem output data rate. */ lsm303agr_comp_odr_t compoutputdatarate; -#if LSM303AGR_COMP_USE_ADVANCED || defined(__DOXYGEN__) +#if LSM303AGR_USE_ADVANCED || defined(__DOXYGEN__) /** * @brief LSM303AGR compass subsystem working mode. */ -- cgit v1.2.3