Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Burn SPARK MAX settings to flash
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Nov 8, 2023
1 parent 9dfb0d8 commit 7cd2350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/intake/IntakeSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public IntakeSubsystem(CANSparkMax motor) {
encoder.setPositionConversionFactor(1.0);
encoder.setVelocityConversionFactor(1.0);
motor.setSmartCurrentLimit(Config.INTAKE_CURRENT_LIMIT);

motor.burnFlash();
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/wrist/WristSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public WristSubsystem(CANSparkMax motor) {
encoder.setPositionConversionFactor(Config.WRIST_GEARING);
encoder.setVelocityConversionFactor(Config.WRIST_GEARING);
motor.setSmartCurrentLimit(Config.WRIST_CURRENT_LIMIT);

motor.burnFlash();
}

@Override
Expand Down

0 comments on commit 7cd2350

Please sign in to comment.