Skip to content

Commit ac3920b

Browse files
committed
adde DSOX support
1 parent f079413 commit ac3920b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LSM6DS3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int LSM6DS3Class::begin()
4949
_wire->begin();
5050
}
5151

52-
if (readRegister(LSM6DS3_WHO_AM_I_REG) != 0x69) {
52+
if (!(readRegister(LSM6DS3_WHO_AM_I_REG) == 0x6C || readRegister(LSM6DS3_WHO_AM_I_REG) == 0x69)) {
5353
end();
5454
return 0;
5555
}

0 commit comments

Comments
 (0)