Skip to content

Commit

Permalink
Fixed formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Geeoon committed Nov 9, 2024
1 parent 9af9303 commit 9beb952
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TunePID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ int main(int argc, char** argv) {
if (mode == targetmode_t::step) {
prescaled_target = round(prescaled_target);
}
angle_target = static_cast<int32_t>(round(amplitude * prescaled_target)) + starting_angle;
angle_target =
static_cast<int32_t>(round(amplitude * prescaled_target)) + starting_angle;

can::motor::setMotorPIDTarget(serial, angle_target);

Expand Down

0 comments on commit 9beb952

Please sign in to comment.