Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceroethel committed Oct 16, 2024
1 parent e8c96db commit f6fc667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/team340/lib/util/rev/SparkFlexConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.revrobotics.REVLibError;
import org.team340.lib.util.Math2;
import org.team340.lib.util.Sleep;
import org.team340.robot.Constants;

/**
* Config builder for {@link CANSparkFlex}.
Expand All @@ -16,7 +15,7 @@ public class SparkFlexConfig extends RevConfigBase<CANSparkFlex> {
private static final SparkFlexConfig kDefaults = new SparkFlexConfig()
.clearFaults()
.restoreFactoryDefaults()
.enableVoltageCompensation(Constants.VOLTAGE)
.enableVoltageCompensation(12.0)
.setPeriodicFramePeriod(Frame.S0, 20)
.setPeriodicFramePeriod(Frame.S1, 20)
.setPeriodicFramePeriod(Frame.S2, 20)
Expand Down

0 comments on commit f6fc667

Please sign in to comment.