Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
mentorSandbox -> master
Browse files Browse the repository at this point in the history
Former-commit-id: be0367902f9b87782c6c3036c92eaedf41bf15ad
Former-commit-id: 9e228f3
  • Loading branch information
rgatkinson committed Nov 29, 2015
2 parents 18868af + 49ffa84 commit fabfe61
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,8 @@ private void deusurpDevices()

int cur = getMotorCurrentPosition(motor);
int tar = getMotorTargetPosition(motor);
RunMode mode = getMotorChannelMode(motor);

return mode==RunMode.RUN_TO_POSITION && (Math.abs(cur - tar) > busyThreshold);
return (Math.abs(cur - tar) > busyThreshold);
}

@Override public synchronized double getMotorPower(int motor)
Expand Down

0 comments on commit fabfe61

Please sign in to comment.