Skip to content

Commit 69c361b

Browse files
committed
Update Shooter.java
1 parent 2450b98 commit 69c361b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/frc/robot/subsystems/Shooter/Shooter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void stopMotors() {
1616

1717
void setTargetState(ShooterConstants.ShooterState targetState) {
1818
currentState = targetState;
19-
setMotorOutput(currentState.voltagePercentage);
19+
setMotorOutput(targetState.voltagePercentage);
2020
}
2121

2222
void setMotorOutput(double targetVoltagePercentage) {

0 commit comments

Comments
 (0)