Skip to content

Commit ace3e2a

Browse files
committed
Fix base encoder reset
1 parent 5f88916 commit ace3e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thegongoliers/input/odometry/BaseEncoderSensor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void reset() {
3636
return;
3737
}
3838

39-
mLastDistance = getDistance();
39+
mLastDistance = mDistanceSensor.getDistance();
4040
}
4141

4242
}

0 commit comments

Comments
 (0)