From 43972ad3c82a8f2b0c78b1997d81da162d958ce5 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Thu, 22 Sep 2016 14:30:26 +0000 Subject: Fixed wrong bit-masks in L3GD20 related header file. Updated EX: L3GD20 driver updated to v1.0.2 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9769 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ex/ST/l3gd20.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'os') diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h index 9f0377db9..81c356f2c 100644 --- a/os/ex/ST/l3gd20.h +++ b/os/ex/ST/l3gd20.h @@ -40,7 +40,7 @@ /** * @brief L3GD20 driver version string. */ -#define EX_L3GD20_VERSION "1.0.1" +#define EX_L3GD20_VERSION "1.0.2" /** * @brief L3GD20 driver version major number. @@ -55,7 +55,7 @@ /** * @brief L3GD20 driver version patch number. */ -#define EX_L3GD20_PATCH 1 +#define EX_L3GD20_PATCH 2 /** @} */ /** @@ -109,12 +109,12 @@ #define L3GD20_AD_FIFO_SRC_REG 0x2F #define L3GD20_AD_INT1_CFG 0x30 #define L3GD20_AD_INT1_SRC 0x31 -#define L3GD20_AD_INT1_TSH_XH 0x32 -#define L3GD20_AD_INT1_TSH_XL 0x33 -#define L3GD20_AD_INT1_TSH_YH 0x34 -#define L3GD20_AD_INT1_TSH_YL 0x35 -#define L3GD20_AD_INT1_TSH_ZH 0x36 -#define L3GD20_AD_INT1_TSH_ZL 0x37 +#define L3GD20_AD_INT1_THS_XH 0x32 +#define L3GD20_AD_INT1_THS_XL 0x33 +#define L3GD20_AD_INT1_THS_YH 0x34 +#define L3GD20_AD_INT1_THS_YL 0x35 +#define L3GD20_AD_INT1_THS_ZH 0x36 +#define L3GD20_AD_INT1_THS_ZL 0x37 #define L3GD20_AD_INT1_DURATION 0x38 /** @} */ -- cgit v1.2.3