Skip to content

Commit e881b23

Browse files
committed
Removes erroneous code from example
1 parent d838d4e commit e881b23

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/InterruptFreeFallConfig/InterruptFreeFallConfig.ino

-4
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ void setup() {
7474

7575
// //Now, write the patched together data
7676
errorAccumulator += myIMU.writeRegister(LSM6DS3_ACC_GYRO_CTRL1_XL, dataToWrite);
77-
78-
//Set the ODR bit
7977
errorAccumulator += myIMU.readRegister(&dataToWrite, LSM6DS3_ACC_GYRO_CTRL4_C);
80-
dataToWrite &= ~((uint8_t)LSM6DS3_ACC_GYRO_BW_SCAL_ODR_ENABLED);
81-
8278

8379
// Write 00h into WAKE_UP_DUR
8480
errorAccumulator += myIMU.writeRegister( LSM6DS3_ACC_GYRO_WAKE_UP_DUR, 0x00 );

0 commit comments

Comments
 (0)