diff --git a/src/main/java/org/team340/lib/util/rev/SparkFlexConfig.java b/src/main/java/org/team340/lib/util/rev/SparkFlexConfig.java index a17322c..ba89096 100644 --- a/src/main/java/org/team340/lib/util/rev/SparkFlexConfig.java +++ b/src/main/java/org/team340/lib/util/rev/SparkFlexConfig.java @@ -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}. @@ -16,7 +15,7 @@ public class SparkFlexConfig extends RevConfigBase { 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)