mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_InertialSensor: added whoami for prototype 20789
This commit is contained in:
parent
58dfca8ccd
commit
b33c815e96
@ -701,6 +701,7 @@ bool AP_InertialSensor_Invensense::_check_whoami(void)
|
||||
_mpu_type = Invensense_ICM20602;
|
||||
return true;
|
||||
case MPU_WHOAMI_ICM20789:
|
||||
case MPU_WHOAMI_ICM20789_R1:
|
||||
_mpu_type = Invensense_ICM20789;
|
||||
return true;
|
||||
}
|
||||
|
@ -173,6 +173,7 @@
|
||||
#define MPU_WHOAMI_MPU9250 0x71
|
||||
#define MPU_WHOAMI_MPU9255 0x73
|
||||
#define MPU_WHOAMI_ICM20789 0x03
|
||||
#define MPU_WHOAMI_ICM20789_R1 0x02
|
||||
|
||||
#define BIT_READ_FLAG 0x80
|
||||
#define BIT_I2C_SLVX_EN 0x80
|
||||
|
Loading…
Reference in New Issue
Block a user