Skip to content

Commit

Permalink
Add requirements to ExampleSetSpeedCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Nov 8, 2024
1 parent 12d7af9 commit c841a5b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class ExampleSetSpeedCommand extends Command {
public ExampleSetSpeedCommand(ExampleSubsystem exampleSubsystem, double speed) {
this.exampleSubsystem = exampleSubsystem;
this.speed = speed;
addRequirements(exampleSubsystem);
}

@Override
Expand Down

0 comments on commit c841a5b

Please sign in to comment.