Skip to content

Commit

Permalink
Merge pull request #165 from frc937/uncomment1
Browse files Browse the repository at this point in the history
uncommented code
  • Loading branch information
Jack-Haefele authored Mar 21, 2024
2 parents 8fa7f8c + 3b646e6 commit c8f7501
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/main/java/frc/robot/commands/mailbox/DeindexNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@ public void initialize() {}
@Override
public void execute() {
/* If the mailbox is fully raised, run the intake. */
// if (mailbox.getLimitSwitch()) {
// intake.runIntake();
// }
// /* This else isn't neccessary, just advised for safety. If it interferes with anything, feel
// free to remove it. */
// else {
// intake.stop();
// }
intake.runIntake();
if (mailbox.getLimitSwitch()) {
intake.runIntake();
}
/* This else isn't neccessary, just advised for safety. If it interferes with anything, feel
free to remove it. */
else {
intake.stop();
}
}

// Called once the command ends or is interrupted.
Expand Down

0 comments on commit c8f7501

Please sign in to comment.