From 9beb952fdd1e58fdd26f4443617b5e679dec6849 Mon Sep 17 00:00:00 2001 From: Geeoon Chung Date: Sat, 9 Nov 2024 11:19:35 -0800 Subject: [PATCH] Fixed formatting error --- src/TunePID.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TunePID.cpp b/src/TunePID.cpp index 99ddc0eb..6487735a 100644 --- a/src/TunePID.cpp +++ b/src/TunePID.cpp @@ -166,7 +166,8 @@ int main(int argc, char** argv) { if (mode == targetmode_t::step) { prescaled_target = round(prescaled_target); } - angle_target = static_cast(round(amplitude * prescaled_target)) + starting_angle; + angle_target = + static_cast(round(amplitude * prescaled_target)) + starting_angle; can::motor::setMotorPIDTarget(serial, angle_target);