Skip to content

Commit ae5e956

Browse files
committed
Added support for LSM6DS3
1 parent 9cfec7e commit ae5e956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LSM6DSOX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ int LSM6DSOXClass::begin()
7979
_wire->begin();
8080
}
8181

82-
if (readRegister(LSM6DSOX_WHO_AM_I_REG) != 0x6C) {
82+
if (!(readRegister(LSM6DSOX_WHO_AM_I_REG) == 0x6C || readRegister(LSM6DSOX_WHO_AM_I_REG) == 0x69)) {
8383
end();
8484
return 0;
8585
}

0 commit comments

Comments
 (0)