Skip to content

Commit c588b0c

Browse files
Merge pull request #7 from Ernie3/master
#6
2 parents 3e58ae9 + 42d4adc commit c588b0c

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

gradlew

100644100755
File mode changed.

src/main/java/io/github/pseudoresonance/pixy2api/Pixy2Line.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public byte getFeatures(byte type, byte features, boolean wait) {
147147
.floor(fdata.length / (4 + (4 * LINE_MAX_INTERSECTION_LINES)))];
148148
for (int i = 0; (i + 1) * size < fdata.length; i++) {
149149
IntersectionLine[] lines = new IntersectionLine[LINE_MAX_INTERSECTION_LINES];
150-
for (int l = 0; l <= LINE_MAX_INTERSECTION_LINES; l++) {
150+
for (int l = 0; l < LINE_MAX_INTERSECTION_LINES; l++) {
151151
int arr = ((size * i) + 4);
152152
int index = fdata[arr + (4 * l)];
153153
int reserved = fdata[arr + (4 * l) + 1];

0 commit comments

Comments
 (0)