Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=TFMini
version=0.1.0
version=0.1.1
author=Peter Jansen <[email protected]>
maintainer=Peter Jansen <[email protected]>
sentence=An Arduino driver for the Benewake TFMini time-of-flight distance sensor.
Expand Down
2 changes: 1 addition & 1 deletion src/TFMini.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ int TFMini::takeMeasurement() {
frame[i] = streamPtr->read();

// Store running checksum
if (i < TFMINI_FRAME_SIZE-2) {
if (i < TFMINI_FRAME_SIZE-1) {
checksum += frame[i];
}
}
Expand Down