diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-09-22 14:30:26 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-09-22 14:30:26 +0000 |
commit | 43972ad3c82a8f2b0c78b1997d81da162d958ce5 (patch) | |
tree | 64d1eadbfd8e4ca90485d259096197cea326804b /os/ex | |
parent | 577d33e5301ad23a3ef46811fcb20218d81e8f0e (diff) | |
download | ChibiOS-43972ad3c82a8f2b0c78b1997d81da162d958ce5.tar.gz ChibiOS-43972ad3c82a8f2b0c78b1997d81da162d958ce5.tar.bz2 ChibiOS-43972ad3c82a8f2b0c78b1997d81da162d958ce5.zip |
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
Diffstat (limited to 'os/ex')
-rw-r--r-- | os/ex/ST/l3gd20.h | 16 |
1 files changed, 8 insertions, 8 deletions
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 /** @} */ |