Add required define for the new MPU9250 magnetometer

This commit is contained in:
Robert Dickenson 2016-02-20 22:17:30 +11:00 committed by Lorenz Meier
parent 0050057392
commit bad571ebab

1
src/drivers/drv_sensor.h Normal file → Executable file
View File

@ -55,6 +55,7 @@
#define DRV_MAG_DEVTYPE_HMC5883 0x01
#define DRV_MAG_DEVTYPE_LSM303D 0x02
#define DRV_MAG_DEVTYPE_ACCELSIM 0x03
#define DRV_MAG_DEVTYPE_MPU9250 0x04
#define DRV_ACC_DEVTYPE_LSM303D 0x11
#define DRV_ACC_DEVTYPE_BMA180 0x12
#define DRV_ACC_DEVTYPE_MPU6000 0x13