Copter: autotune minor format fix

This commit is contained in:
Randy Mackay 2017-06-21 10:57:57 +09:00
parent 40d18ff1da
commit 7704f85322

View File

@ -762,7 +762,7 @@ void Copter::autotune_attitude_control()
autotune_state.positive_direction = !autotune_state.positive_direction; autotune_state.positive_direction = !autotune_state.positive_direction;
if (autotune_state.axis == AUTOTUNE_AXIS_YAW) { if (autotune_state.axis == AUTOTUNE_AXIS_YAW) {
attitude_control->input_euler_angle_roll_pitch_yaw( 0.0f, 0.0f, ahrs.yaw_sensor, false, get_smoothing_gain()); attitude_control->input_euler_angle_roll_pitch_yaw(0.0f, 0.0f, ahrs.yaw_sensor, false, get_smoothing_gain());
} }
// set gains to their intra-test values (which are very close to the original gains) // set gains to their intra-test values (which are very close to the original gains)