Skip to content

Commit

Permalink
Update DriverControl.java
Browse files Browse the repository at this point in the history
fixed bugs
  • Loading branch information
Isha290411 committed Oct 22, 2024
1 parent 1bec719 commit df03fe4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public class DriverControl extends LinearOpMode {
private final Lift lift = new Lift(robot);

// Use the FtcLib gamepad extension.
private final GamepadEx gamepadOne = new GamepadEx(gamepad1);
private GamepadEx gamepadOne = null;

@Override
public void runOpMode() {
gamepadOne = new GamepadEx(gamepad1);
robot.init();
lift.init();

Expand Down

0 comments on commit df03fe4

Please sign in to comment.