Skip to content

Commit

Permalink
imu/mpu6000: support ICM20689 rev 4 ID
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 authored and dagar committed Oct 14, 2019
1 parent 51374ae commit c44e4b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/drivers/imu/mpu6000/MPU6000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion src/drivers/imu/mpu6000/MPU6000.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c44e4b9

Please sign in to comment.