Skip to content

Commit 608c83d

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a939bea commit 608c83d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/OpModes/BackupOpMode.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ public void initialize() {
3232
Constants.Drivetrain.brMotorName
3333
);
3434
drivetrain.setDefaultCommand(new UserDrive(drivetrain, driverOp));
35+
register(drivetrain);
3536

3637
shooter = new Shooter(hardwareMap, Constants.Shooter.shooterMotorName);
38+
register(shooter);
3739
coOp.getGamepadButton(GamepadKeys.Button.A).whileHeld(
3840
new RunShooter(shooter, Constants.Shooter.defaultSpeed));
3941
}

0 commit comments

Comments
 (0)