Skip to content

Commit

Permalink
Swap HoldableActuator.tasks.runFor parameter list to be consistent wi…
Browse files Browse the repository at this point in the history
…th other runFor
  • Loading branch information
bubner committed Aug 13, 2024
1 parent 3bf61be commit 72fd238
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,11 @@ public Task setPower(double p) {
/**
* Run the actuator for a certain amount of time.
*
* @param p the power to run at
* @param time the time to run for
* @param p the power to run at
* @return a task to run the actuator
*/
public Task runFor(double p, Measure<Time> time) {
public Task runFor(Measure<Time> time, double p) {
return new Task(time) {
@Override
public void init() {
Expand Down

0 comments on commit 72fd238

Please sign in to comment.