Skip to content

Commit

Permalink
Definitely didn't screw the last commit up
Browse files Browse the repository at this point in the history
  • Loading branch information
PrecociouslyDigital committed Mar 30, 2018
1 parent 50fcf22 commit d5b8ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/github/dozer/output/MotorRamping.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public void update() {
if (Math.abs(setpoint - current) < moveAmount) {
current = setpoint;
} else if (setpoint > moveAmount) {
current += motorRamping;
current += moveAmount;
} else if (setpoint < moveAmount) {
current -= motorRamping;
current -= moveAmount;
}
speedController.set(current);
this.lastTime = System.currentTimeMillis();
Expand Down

0 comments on commit d5b8ce5

Please sign in to comment.