From e65547b6afb1a6f040f5aa599997a5058b292489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 12 Oct 2017 14:27:04 +0200 Subject: [PATCH] mpu6000: add support for revision 1 --- src/drivers/mpu6000/mpu6000.cpp | 1 + src/drivers/mpu6000/mpu6000.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index d297818de1..3c4fe7f5b5 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -905,6 +905,7 @@ MPU6000::probe() case ICM20608_REV_FF: case ICM20689_REV_FE: case ICM20689_REV_03: + case ICM20602_REV_01: case ICM20602_REV_02: case MPU6050_REV_D8: unknown_product_id = false; diff --git a/src/drivers/mpu6000/mpu6000.h b/src/drivers/mpu6000/mpu6000.h index 4b278f1b9e..cc46863572 100644 --- a/src/drivers/mpu6000/mpu6000.h +++ b/src/drivers/mpu6000/mpu6000.h @@ -170,6 +170,7 @@ // Product ID Description for ICM2602 // Read From device +#define ICM20602_REV_01 1 #define ICM20602_REV_02 2 // Product ID Description for ICM2608