Skip to content

Commit

Permalink
Changed Disabled to !Enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mmilunicmobile authored and rechsby committed Dec 19, 2024
1 parent e43c661 commit aab6a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Auto.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void logAutoInformation() {
Alliance currentAlliance = DriverStation.getAlliance().orElse(Alliance.Blue);
Command currentCommand = autoChooser.get();

if (previousAuto != currentCommand || (DriverStation.isDisabled() && previousAlliance != currentAlliance)) {
if (previousAuto != currentCommand || (!DriverStation.isEnabled() && previousAlliance != currentAlliance)) {
previousAlliance = currentAlliance;

previousAuto = currentCommand;
Expand Down

0 comments on commit aab6a3b

Please sign in to comment.