mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: added support for ICM-20608-D sensor
This commit is contained in:
parent
02f671f33a
commit
7e543d7643
|
@ -911,7 +911,8 @@ bool AP_InertialSensor_Invensense::_check_whoami(void)
|
|||
case MPU_WHOAMI_MPU9255:
|
||||
_mpu_type = Invensense_MPU9250;
|
||||
return true;
|
||||
case MPU_WHOAMI_20608:
|
||||
case MPU_WHOAMI_20608D:
|
||||
case MPU_WHOAMI_20608G:
|
||||
_mpu_type = Invensense_ICM20608;
|
||||
return true;
|
||||
case MPU_WHOAMI_20602:
|
||||
|
|
|
@ -178,7 +178,8 @@
|
|||
|
||||
// WHOAMI values
|
||||
#define MPU_WHOAMI_6000 0x68
|
||||
#define MPU_WHOAMI_20608 0xaf
|
||||
#define MPU_WHOAMI_20608D 0xae
|
||||
#define MPU_WHOAMI_20608G 0xaf
|
||||
#define MPU_WHOAMI_20602 0x12
|
||||
#define MPU_WHOAMI_20601 0xac
|
||||
#define MPU_WHOAMI_6500 0x70
|
||||
|
|
Loading…
Reference in New Issue