Skip to content

Commit 492ba86

Browse files
authored
Merge pull request #112 from firebots-software/led-lights-fix
fix lights default error (revisit later)
2 parents e1c7b82 + 3678be1 commit 492ba86

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/frc/robot/RobotContainer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
1717
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
1818
import edu.wpi.first.wpilibj2.command.Command;
19-
import edu.wpi.first.wpilibj2.command.InstantCommand;
2019
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
2120
import edu.wpi.first.wpilibj2.command.button.RobotModeTriggers;
2221
import edu.wpi.first.wpilibj2.command.button.Trigger;
@@ -107,8 +106,8 @@ public void teleopInit() {
107106
}
108107

109108
private void configureBindings() {
110-
leds.setDefaultCommand(
111-
new InstantCommand(() -> leds.updateLedsCommand(LedSubsystem.LedState.IDLE)));
109+
// leds.setDefaultCommand(
110+
// new InstantCommand(() -> leds.updateLedsCommand(LedSubsystem.LedState.IDLE)));
112111
armSubsystem.setDefaultCommand(new ArmToAngleCmd(0.0, armSubsystem));
113112
elevatorSubsystem.setDefaultCommand(new DefaultElevator(elevatorSubsystem));
114113

0 commit comments

Comments
 (0)