bmm150 max datarate changed

This commit is contained in:
Sergej Scheiermann 2017-03-28 15:35:58 +02:00 committed by Lorenz Meier
parent 5923e66cf3
commit da31e6e0b5
1 changed files with 2 additions and 2 deletions

View File

@ -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 */