From e55497324ed23f127d832591806adbe503285b35 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Wed, 29 May 2024 19:04:03 -0400 Subject: [PATCH] Remove redundant code @came20 --- src/main/java/org/littletonrobotics/frc2024/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java b/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java index 7566cd22..78f21948 100644 --- a/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java +++ b/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java @@ -476,7 +476,7 @@ private void configureButtonBindings() { drive::clearHeadingGoal), shootAlignDisable); Trigger nearSpeaker = new Trigger(robotState::inShootingZone); - Trigger intakeTrigger = new Trigger(driver.leftTrigger()); + Trigger intakeTrigger = driver.leftTrigger(); driver .a() .and(intakeTrigger.negate())