Copter: control_auto remove misplaced parenthesis

This commit is contained in:
Pierre Kancir 2016-12-01 16:50:14 +01:00 committed by Lucas De Marchi
parent 3fc17a5ed5
commit f2ea388a69
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ void Copter::set_auto_yaw_look_at_heading(float angle_deg, float turn_rate_dps,
if (direction < 0) {
angle_deg = -angle_deg;
}
yaw_look_at_heading = wrap_360_cd((angle_deg*100+curr_yaw_target));
yaw_look_at_heading = wrap_360_cd((angle_deg * 100) + curr_yaw_target);
}
// get turn speed