Skip to content

Commit

Permalink
check style
Browse files Browse the repository at this point in the history
  • Loading branch information
suryatho committed Mar 7, 2024
1 parent 5434fea commit e0747ee
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,8 @@ private void configureButtonBindings() {
// Climber controls
operator.rightStick().onTrue(Commands.runOnce(() -> trapScoreMode = !trapScoreMode));
operator
.leftBumper().doublePress()
.leftBumper()
.doublePress()
.and(() -> trapScoreMode)
.toggleOnTrue(
ClimbingCommands.climbNTrapSequence(
Expand All @@ -598,7 +599,8 @@ private void configureButtonBindings() {
autoDriveDisable)
.withInterruptBehavior(InterruptionBehavior.kCancelIncoming));
operator
.leftBumper().doublePress()
.leftBumper()
.doublePress()
.and(() -> !trapScoreMode)
.toggleOnTrue(
ClimbingCommands.simpleClimbSequence(
Expand Down

0 comments on commit e0747ee

Please sign in to comment.