diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/ADIS16470_IMU.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/ADIS16470_IMU.java index c2700b82c9b..169f13dd469 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/ADIS16470_IMU.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/ADIS16470_IMU.java @@ -483,7 +483,8 @@ private boolean switchToStandardSPI() { } readRegister(PROD_ID); // Dummy read // Validate the product ID - if (readRegister(PROD_ID) != 16982) { + int prodId = readRegister(PROD_ID); + if (prodId != 16982 && prodId != 16470) { DriverStation.reportError("Could not find an ADIS16470", false); close(); return false;