From b250ec2730e2e3ebde566748ed6c4f6a8576b8ed Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 19 Dec 2016 06:04:43 -1000 Subject: [PATCH] Adding more Prudut IDs for ICM20689 --- src/drivers/mpu6000/mpu6000.cpp | 3 ++- src/drivers/mpu6000/mpu6000.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index caab966e72..1cab8b67b5 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -824,7 +824,8 @@ MPU6000::probe() case MPU6000_REV_D9: case MPU6000_REV_D10: case ICM20608_REV_00: - case ICM20689_REV_00: + case ICM20689_REV_FE: + case ICM20689_REV_03: case ICM20602_REV_02: case MPU6050_REV_D8: DEVICE_DEBUG("ID 0x%02x", _product); diff --git a/src/drivers/mpu6000/mpu6000.h b/src/drivers/mpu6000/mpu6000.h index fc81597723..e14ec28a73 100644 --- a/src/drivers/mpu6000/mpu6000.h +++ b/src/drivers/mpu6000/mpu6000.h @@ -178,7 +178,8 @@ // Product ID Description for ICM2689 -#define ICM20689_REV_00 0xfe +#define ICM20689_REV_FE 0xfe +#define ICM20689_REV_03 0x03 // Product ID Description for MPU6000 // high 4 bits low 4 bits