Skip to content

Commit 2f86fdb

Browse files
authored
Merge pull request #47 from LiquidCGS/43-compilation-issue-on-esp32-s2-lsm6dsl
Update F_LSM6DSL.cpp
2 parents 2f43c43 + 548155b commit 2f86fdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/F_LSM6DSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int LSM6DSL::init(calData cal, uint8_t address)
1717
}
1818

1919
// Wait up to 100ms for IMU to become ready.
20-
uint8_t IMUWhoAmI = checkReady(IMUAddress, 500);
20+
uint8_t IMUWhoAmI = checkReady(IMUAddress, 100);
2121
if (!(IMUWhoAmI == LSM6DSL_WHOAMI_DEFAULT_VALUE_A) && !(IMUWhoAmI == LSM6DSL_WHOAMI_DEFAULT_VALUE_B)) {
2222
return -1;
2323
}

0 commit comments

Comments
 (0)