Skip to content

Commit e64418e

Browse files
authored
Documentation
Updated erroneous comment.
1 parent ce2f0e4 commit e64418e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SparkFun_VL53L1X_Arduino_Library.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ uint8_t VL53L1X::getDistanceMode()
251251
}
252252

253253
//Set a custom zone from the array of sensors. Minimum of 4x4, maximum of 16x16.
254-
//Custom zone must be centered
255254
void VL53L1X::setUserRoi(UserRoi *roi)
256255
{
257256
uint8_t centerX = (roi->topLeftX + roi->bottomRightX + 1) / 2;
@@ -432,4 +431,4 @@ boolean VL53L1X::writeRegister16(uint16_t addr, uint16_t val)
432431
if (_i2cPort->endTransmission() != 0)
433432
return (0); //Error: Sensor did not ACK
434433
return (1); //All done!
435-
}
434+
}

0 commit comments

Comments
 (0)