aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/ST/l3gd20.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/ex/ST/l3gd20.h')
-rw-r--r--os/ex/ST/l3gd20.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h
index f6b1780a7..4a3761c30 100644
--- a/os/ex/ST/l3gd20.h
+++ b/os/ex/ST/l3gd20.h
@@ -59,7 +59,7 @@
/** @} */
/**
- * @brief L3GD20 characteristics
+ * @brief L3GD20 characteristics.
*
* @{
*/
@@ -167,7 +167,7 @@
*/
#define L3GD20_CTRL_REG4_MASK 0xF1 /**< L3GD20_CTRL_REG4 mask */
#define L3GD20_CTRL_REG4_SIM (1 << 0) /**< SPI mode */
-#define L3GD20_CTRL_REG4_FS_MASK (3 << 4) /**< Full scale mask */
+#define L3GD20_CTRL_REG4_FS_MASK 0x30 /**< Full scale field mask */
#define L3GD20_CTRL_REG4_FS0 (1 << 4) /**< Full scale bit 0 */
#define L3GD20_CTRL_REG4_FS1 (1 << 5) /**< Full scale bit 1 */
#define L3GD20_CTRL_REG4_BLE (1 << 6) /**< Big/little endian data */