Fix typo, changed to right_bumper

This commit is contained in:
2024-11-13 15:51:39 -08:00
parent 3849265627
commit 231af71507

View File

@ -131,7 +131,7 @@ public class CometBotTeleopCompetition {
Action: Increases maximum speed by +.05
*/
public void increaseMaxPower() {
if (this.currentGP1.left_bumper && !this.previousGP1.left_bumper) {
if (this.currentGP1.right_bumper && !this.previousGP1.right_bumper) {
this.currentPower = this.currentPower + .05;
this.follower.setMaxPower(this.currentPower);
}