Skip to content

Commit

Permalink
fixes bug with drive config from last commit
Browse files Browse the repository at this point in the history
issue: #11
  • Loading branch information
danielbrownmsm committed Dec 24, 2022
1 parent b5f4cb8 commit 8cc8137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/cpp/io/SwerveDriveIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bool SwerveDriveIO::ProcessIO() {
// Set the software outputs
// If the swerve drive configuration needs to be updated, update it.
if (sw_interface_->update_config) {
OKC_CALL(UpdateDriveConfig(sw_interface_->swerve_drive_config));
OKC_CALL(UpdateDriveConfig(sw_interface_->drive_config));

// Lower the update flag
sw_interface_->update_config = false;
Expand Down

0 comments on commit 8cc8137

Please sign in to comment.