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

Commit

Permalink
fix(config): Apply factory defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed May 13, 2024
1 parent 29d6355 commit 768f36f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void configure() {

ParentDevice.optimizeBusUtilizationForAll(steerMotor, azimuthEncoder);

TalonFXConfigApplier.applyFactoryDefault(steerMotor);
TalonFXConfigApplier.apply(steerMotor, config.motorConfig());

CANcoderConfigApplier.applyFactoryDefault(azimuthEncoder);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void configure() {

ParentDevice.optimizeBusUtilizationForAll(motor);

TalonFXConfigApplier.applyFactoryDefault(motor);
TalonFXConfigApplier.apply(motor, config.motorConfig());
}

Expand Down

0 comments on commit 768f36f

Please sign in to comment.