Skip to content

Commit 82a248c

Browse files
committed
changed the naming of the configuration
1 parent 9f63503 commit 82a248c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ public ShooterSubsystem(CommandSwerveDrivetrain drivetrain, BooleanSupplier reds
7171
.withStatorCurrentLimit(Constants.Shooter.Rollers.STATOR_CURRENT_LIMIT)
7272
.withSupplyCurrentLimit(Constants.Shooter.Rollers.SUPPLY_CURRENT_LIMIT);
7373

74-
MotorOutputConfigs motorOutputConfigs =
74+
MotorOutputConfigs rollersOutputConfigs =
7575
new MotorOutputConfigs()
7676
.withInverted(InvertedValue.CounterClockwise_Positive)
7777
.withNeutralMode(NeutralModeValue.Coast);
7878

7979
TalonFXConfiguration rollersConfig = new TalonFXConfiguration();
8080
rollersConfig.Slot0 = rollersS0c;
8181
rollersConfig.CurrentLimits = rollersClc;
82-
rollersConfig.MotorOutput = motorOutputConfigs;
82+
rollersConfig.MotorOutput = rollersOutputConfigs;
8383

8484
warmup1.getConfigurator().apply(rollersConfig);
8585
warmup2.getConfigurator().apply(rollersConfig);

0 commit comments

Comments
 (0)