Skip to content

Commit 268ad0c

Browse files
change temp shut off
1 parent 2592a4e commit 268ad0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/frc/robot/lib/MotorErrors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static void doReportSparkMaxTemp() {
109109
double temp = spark.getMotorTemperature();
110110
SmartDashboard.putNumber("Port " + port + " Spark Max Temp", temp);
111111
// Check if temperature exceeds the setpoint or if the contoller has already overheated to prevent other code from resetting the current limit after the controller has cooled
112-
if(temp >= 40 || overheatedSparks.contains(port)) {
112+
if(temp >= 100 || overheatedSparks.contains(port)) {
113113
if(!overheatedSparks.contains(port)) {
114114
overheatedSparks.add(port);
115115
System.err.println("Port " + port + " spark max is operating at " + temp + " degrees Celsius! It will be disabled until the robot code is restarted.");

0 commit comments

Comments
 (0)