Skip to content

Commit

Permalink
Added std:: so we dont get spammed with emails
Browse files Browse the repository at this point in the history
  • Loading branch information
shaynoorani committed May 31, 2024
1 parent 32b597c commit 6a23fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/systems/src/TorqueControllerMux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ void TorqueControllerMux::applyTorqueLimit(DrivetrainCommand_s *command)

for (int i = 0; i < NUM_MOTORS; i++)
{
command->torqueSetpoints[i] = min(command->torqueSetpoints[i], max_torque);
command->torqueSetpoints[i] = std::min(command->torqueSetpoints[i], max_torque);
}
}

Expand Down

0 comments on commit 6a23fed

Please sign in to comment.