AP_Compass: BMM150: fix sampling time

We configure the sensor with an ODR of 30 Hz. There's no need to keep
calling the update function at 100Hz.
This commit is contained in:
Lucas De Marchi 2017-01-24 14:11:06 -08:00
parent 9f09442548
commit dd98fc75a9
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
#define DIG_XY2_REG 0x70 #define DIG_XY2_REG 0x70
#define DIG_XY1_REG 0x71 #define DIG_XY1_REG 0x71
#define MEASURE_TIME_USEC 10000 #define MEASURE_TIME_USEC 16667
extern const AP_HAL::HAL &hal; extern const AP_HAL::HAL &hal;