Skip to content

Commit

Permalink
Moved GamepadEx initialize to hopefully fix error.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhsftc committed Oct 16, 2024
1 parent 1bec719 commit 24f2a1b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public class DriverControl extends LinearOpMode {
public RobotHardware robot = new RobotHardware(this);
private final Lift lift = new Lift(robot);

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

@Override
public void runOpMode() {
// Use the FtcLib gamepad extension.
GamepadEx gamepadOne = new GamepadEx(gamepad1);

robot.init();
lift.init();

Expand Down

0 comments on commit 24f2a1b

Please sign in to comment.