diff --git a/sw/airborne/peripherals/mpu60x0_regs.h b/sw/airborne/peripherals/mpu60x0_regs.h index 804cec43e9..d7c19d2b63 100644 --- a/sw/airborne/peripherals/mpu60x0_regs.h +++ b/sw/airborne/peripherals/mpu60x0_regs.h @@ -114,7 +114,11 @@ #define MPU60X0_REG_WHO_AM_I 0x75 +#ifdef ICM20608 +#define MPU60X0_WHOAMI_REPLY 0xAF +#else #define MPU60X0_WHOAMI_REPLY 0x68 +#endif // Bit positions #define MPU60X0_I2C_BYPASS_EN 1