mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
bmm150 max datarate changed
This commit is contained in:
committed by
Lorenz Meier
parent
5923e66cf3
commit
da31e6e0b5
@@ -143,7 +143,7 @@
|
||||
#define BMM150_DEFAULT_ODR BMM150_DATA_RATE_30HZ
|
||||
|
||||
/* Maximum output data rate */
|
||||
#define BMM150_MAX_DATA_RATE 30
|
||||
#define BMM150_MAX_DATA_RATE 100
|
||||
|
||||
/* Default BMM150_INT_SETT_CTRL_REG Value */
|
||||
#define BMM150_DEFAULT_INT_SETT 0x3F
|
||||
@@ -179,7 +179,7 @@
|
||||
#define BMM150_SOFT_RESET_MASK 0x82
|
||||
|
||||
/* This value is set based on Max output data rate value */
|
||||
#define BMM150_CONVERSION_INTERVAL (1000000 / 30) /* microseconds */
|
||||
#define BMM150_CONVERSION_INTERVAL (1000000 / 100) /* microseconds */
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user