imu/mpu6000: support ICM20689 rev 4 ID

This commit is contained in:
David Sidrane 2019-10-15 03:17:43 +08:00 committed by Daniel Agar
parent 51374aec7b
commit c44e4b9578
2 changed files with 3 additions and 1 deletions

View File

@ -261,6 +261,7 @@ MPU6000::probe()
case ICM20608_REV_FF:
case ICM20689_REV_FE:
case ICM20689_REV_03:
case ICM20689_REV_04:
case ICM20602_REV_01:
case ICM20602_REV_02:
case MPU6050_REV_D8:

View File

@ -218,7 +218,8 @@ enum MPU_DEVICE_TYPE {
// Product ID Description for ICM20689
#define ICM20689_REV_FE 0xfe
#define ICM20689_REV_03 0x03
#define ICM20689_REV_03 0x03
#define ICM20689_REV_04 0x04
// Product ID Description for MPU6000
// high 4 bits low 4 bits