Skip to content

Commit

Permalink
fixing ArmTeleop constructor arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
theodoremui committed Jan 27, 2024
1 parent 459871d commit abcee2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/carlmontrobotics/commands/ArmTeleop.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ArmTeleop extends CommandBase {
private final DoubleSupplier joystick;
private final Arm armSubsystem;
/** Creates a new ArmTeleop. */
public ArmTeleop(DoubleSupplier joystickSupplier, Arm armSubsystem) {
public ArmTeleop(Arm armSubsystem, DoubleSupplier joystickSupplier) {
// Use addRequirements() here to declare subsystem dependencies.
joystick = joystickSupplier;
this.armSubsystem = armSubsystem;
Expand Down

0 comments on commit abcee2b

Please sign in to comment.